how to move last 6 characters to beginning

Advanced Renamer forum
#1 : 28/01-16 14:04
mohammad
mohammad
Posts: 1
hi.
i have so many folders like: xxxxx (2014) - mm (2010) - nnnn (2000) - yyy (1998).
now i want to move that last 6 characters to beginning of folder name, but i dont know how.


28/01-16 14:04
#2 : 29/01-16 11:57
Tester123
Tester123
Posts: 92
Reply to #1:

Try this replace method.
Text to be replaced: (.+)(.{6})
Replace with: \2\1
Use regular expression: Tick

That will move the last 6 chars from the end to the beginning, literally as requested. However, that leaves an ugly blank at the end, and no space between the moved characters and the start of the original filename.

e.g. '(1998)xxxxx (2014) - mm (2010) - nnnn (2000) - yyy '.

To get this '(1998) xxxxx (2014) - mm (2010) - nnnn (2000) - yyy' (note the space after (1998) and no space at the end), use this instead:

Try this replace method: (.+) (.{6})
Text to be replaced: \2 \1


29/01-16 11:57 - edited 29/01-16 11:58