Unable to swap words in title

A swapping-ground for Regular Expression syntax

Unable to swap words in title

Postby ric_tar » Thu Mar 14, 2019 2:02 am

Hello, very fresh newbie here trying to manipulate my files using the RegEx option.
Current file format: Title (multiple words) - Artist (multiple words)
Wanted format: Artist (surname, first name) - Title

Trying to use:
Match ^([A-Z][a-z]*) ([A-Z][a-z]*) ([A-Z][a-z]*)
Replace 3\2\1

Nothing is happening. What am I doing wrong? :oops:

I am also using the function of Remove (removing first 3 digits of file name).

TIA
ric_tar
 
Posts: 2
Joined: Thu Mar 14, 2019 1:57 am

Re: Unable to swap words in title

Postby ric_tar » Thu Mar 14, 2019 2:27 am

Thanks anyway but I think I've figured it out:

Match: (.*) (-)(.*)
Replace: \3 \2\1

Just in case anyone else is looking for this :)
ric_tar
 
Posts: 2
Joined: Thu Mar 14, 2019 1:57 am


Return to Regular Expressions