Artist Name Swap

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Artist Name Swap

Postby jaym8377 » Thu Apr 28, 2016 6:01 pm

Hello, I'm sure this has been asked before, but I'm having trouble finding a solution to my exact situation. I don't understand the 'Match' and what all the symbols mean in the other threads, so I'm having trouble taking solutions to other problems and applying them to mine.

I have file names in which I would like to take the artist name (FIRST LAST) and swap it to (LAST, FIRST):

"FIRST LAST - TITLE.zip" changed to "LAST, FIRST - TITLE.zip"

Others have a Disc ID in front, so I'll need to work around these as well so that everything before the first (space)-(space) is unchanged as well as everything after.

"DISCID000-99 - FIRST LAST - TITLE.zip" changed to "DISCID000-99 - LAST, FIRST - TITLE.zip"

Can someone please help?? Many thanks!
jaym8377
 
Posts: 2
Joined: Thu Apr 28, 2016 5:49 pm

Re: Artist Name Swap

Postby therube » Fri Apr 29, 2016 2:09 am

Not sure if you can do both at once, but ...

1:RegEx
Match: (\S*) (\S*) (.*)
Replace: \2, \1 \3

1:RegEx
Match: (DISC.*)-(.*) (.*) - (.*)
Replace: \1- \3,\2 - \4
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Artist Name Swap

Postby jaym8377 » Sat Apr 30, 2016 3:34 pm

therube wrote:Not sure if you can do both at once, but ...

1:RegEx
Match: (\S*) (\S*) (.*)
Replace: \2, \1 \3

1:RegEx
Match: (DISC.*)-(.*) (.*) - (.*)
Replace: \1- \3,\2 - \4



THANK YOU THANK YOU THANK YOU!
jaym8377
 
Posts: 2
Joined: Thu Apr 28, 2016 5:49 pm


Return to BRU Support


cron