Replace - rename folder by moving characters around

Advanced Renamer forum
#1 : 25/02-22 06:35
Chris
Chris
Posts: 1
How do I Replace folder name from...?
"- x124 "
to
"(124x) "

NOTES:
The "- x124 " could be several characters from start of folder name and is not the same number. It could be "- x92 " or "- x326 " etc., but it normally always has a space after it.
So with the the Text to be replaced: field I can use...
"- x"
and
Replace with: field I use...
"("
Options Used: Occurrence=1st; Use regular expressions=Ticked; Apply to=Name
Ends up renaming that part to "(124 "

How do I also place an "x " after the "(124" in the folder name?
Does this make sense?


25/02-22 06:35 - edited 25/02-22 06:47
#2 : 25/02-22 08:24
David Lee
David Lee
Posts: 1125
Replace: - x(\d+) ?
with: (\1x)


25/02-22 08:24