Page 1 of 1

Move a specific character to the front

PostPosted: Sat Jul 31, 2021 4:46 pm
by holyroller
I'm trying to find out how to move an underscore to the front of the filename, does anyone know how to do that? So it would be from "example_1.png" to "_example1.png".

Many thanks in advance!

Move underscore to front, if name ends like "_digits"

PostPosted: Sun Aug 01, 2021 3:51 am
by Luuk
For the example, can use the RegEx(1) with a 'Match' and 'Replace' like...
(.+)(_)(\d+)$
\2\1\3