Swithing parts of names around

Advanced Renamer forum
#1 : 02/09-10 11:34
Alan Davies
Alan Davies
Posts: 1
I wish to rename music files which have been ordered <Artist> - <Title> to <Title> - <Artist>. I do not understand the PERL programming language. Help please.

The Beatles - A Hard Day's Night.mp3
A Hard Day's Night - The Beatles.mp3

02/09-10 11:34
#2 : 02/09-10 20:59
Kim Jensen
Kim Jensen
Posts: 800
Reply to #1:
There is two solutions to your problem.

1. solution
If your MP3 files have prober ID3 tags you can construct a new file name based on the ID3 tags. Use the New Name method and in the text box write
<ID3 Title> - <ID3 Artist>.<Ext>
http://www.advancedrenamer.com/docs/docs_show.p hp?ident=method_newname

2. solution
The second solution is to use regular expressions. Regular expressions is primarily made for advanced users and programmers but I can help you use it for this case. Use the Replace and configure it as this:
Text to be replaced: (.*) - (.*)
Replace with: \2 - \1
Use regular expressions: Checked
Apply to: Name
http://www.advancedrenamer.com/docs/docs_show.p hp?ident=method_replace

I hope this helps you.

02/09-10 20:59
#3 : 05/09-10 14:46
Alan Davies
Alan Davies
Posts: 1
This was a great help thanks. Obviously logged in incorrectly last time as had to create new login. Thanks again.

05/09-10 14:46