#1 : 10/08-16 22:57
I have thousands of files to rename that are in this format: 00403_400050-002
I would like it to read like this: 400050_00403-002
So I want to swap PartA with PartB without moving PartC. PartB is always 6 digits, but Parts A and C vary in each file, so I cannot use the move method.
I thought I might be able to use the swap method, but I am not able to only swap two parts and leave the other alone.
Is there a way to make this happen in Advanced Renamer?
#2 : 11/08-16 00:57
Reply to #1:
Yes, use the following:
Text to be replaced: ^(.+?)_(.+?)-(.+?)
Replace with: \2_\1-\3
Case sensitive: Unchecked
Use regular expression: Checked
Apply to: Name
this regex will allow each number to expand or contract, but will not allow the delimiters to change. First has to be "_" and second "-"
it could be better, but that would require more information on the extreme cases of the filenames..
#3 : 11/08-16 14:33
Reply to #2:
Thanks, so much. It worked like a charm, You're a life saver!