Page 1 of 1

Reverse before and after a certain character

PostPosted: Fri Nov 10, 2023 9:46 pm
by petdenny
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

Re: Reverse before and after a certain character

PostPosted: Sun Nov 12, 2023 8:23 am
by Admin
Hi, try:

RegEx (1)
Enable option "Simple" in RegEx (1)
Match: %1_%2
Replace: %2_%1