Page 1 of 1

how to reverse a name based upon a dash

PostPosted: Thu Mar 01, 2018 11:46 pm
by heartradiousa
i have the following file names i need to make batch changes to 12. Back To Me-Bebo Norman-myself when i am real.mp3
where the dash is i need it to delete the 3rd field which is the album name and reverse the second field so it reads like this
Bebo Norman-Back To Me.mp3 how can i accomplish this, i have roughly 2500 mp3 tracks i have to do this to.

thanks
nickwww.heartradiousa.org

Re: how to reverse a name based upon a dash

PostPosted: Fri Mar 02, 2018 12:08 pm
by Emerkamp
Hi,

(1.)
Code: Select all
Match:
^(.*)-(.*)-(.*)
Replace:
\2-\1


Make sure match is grouping in the right order. if not we'll need to add the .extension

Re: how to reverse a name based upon a dash

PostPosted: Fri Mar 02, 2018 7:36 pm
by heartradiousa
what fields need to be checked and does this information need to go into

Re: how to reverse a name based upon a dash

PostPosted: Fri Mar 02, 2018 9:08 pm
by Emerkamp
(1.) Regex

just check to see if final rename is correct, before pushing rename button.
it will be grabbing your removed words if wrong, it might try to start from the end of line. ^ means start at front, so double check it is

Re: how to reverse a name based upon a dash

PostPosted: Mon Sep 10, 2018 8:03 pm
by Johnny27
Emerkamp: Thanks for this! Just saved me many hours with almost the same requirements! :!: