Move a specific character to the front

Bulk Rename Utility How-To's

Move a specific character to the front

Postby holyroller » Sat Jul 31, 2021 4:46 pm

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!
holyroller
 
Posts: 2
Joined: Tue Mar 17, 2020 9:35 pm

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

Postby Luuk » Sun Aug 01, 2021 3:51 am

For the example, can use the RegEx(1) with a 'Match' and 'Replace' like...
(.+)(_)(\d+)$
\2\1\3
Luuk
 
Posts: 692
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To