Reverse before and after a certain character

Bulk Rename Utility How-To's

Reverse before and after a certain character

Postby petdenny » Fri Nov 10, 2023 9:46 pm

Hello. I have a list of filenames that is formatted:

Title_Artist

and I would simply like to reverse it to

Artist_Title

They are always separated with the underscore, but sometimes its more than one word separated with dashes.

any idea? :D
petdenny
 
Posts: 1
Joined: Fri Nov 10, 2023 9:44 pm

Re: Reverse before and after a certain character

Postby Admin » Sun Nov 12, 2023 8:23 am

Hi, try:

RegEx (1)
Enable option "Simple" in RegEx (1)
Match: %1_%2
Replace: %2_%1
Admin
Site Admin
 
Posts: 2354
Joined: Tue Mar 08, 2005 8:39 pm


Return to How-To