SWITCHING WORDS IN FILE NAME

Advanced Renamer forum
#1 : 23/01-17 03:16
CLIFF EATON
CLIFF EATON
Posts: 2
I found this answer before but can't find it any longer. I have a file name: "Lance, Gill - Example of name". I want to switch the first two words and rename the file as: "Gill Lance - Example of name". I have many book titles with different authors that I want to change using this method. I remember the solution was based on something like "/2 /1" or something similar to that, but it's been so long since I researched this that I have forgotten what the correct solution is. Thanks for any help.
Cliff


23/01-17 03:16
#2 : 23/01-17 04:49
G. Lambany
G. Lambany
Posts: 187
Reply to #1:
Method: replace
Text to be replace: (\w+),\s(\w+)(.+)
Replace with: \2 \1\3
Occurence: 1st
Case Sensitive: Unchecked
Use regular Expression: Checked

cheers


23/01-17 04:49
#3 : 23/01-17 08:16
CLIFF EATON
CLIFF EATON
Posts: 2
Reply to #2:
Thank you so much! It worked great.


23/01-17 08:16