Move #\d+ to start of line.

Advanced Renamer forum
#1 : 22/11-20 11:52
Armaan
Armaan
Posts: 2
I am unable to move #\d+ (#1, #12 etc) to start of line.
What it means the move count lable, if I choose to be it in RegEx.?

Modern JavaScript Tutorial #3 - Control Flow ---> #3 Modern JavaScript Tutorial - Control Flow
PHP Tutorial #37 - Null Coalescing ---> #37 PHP Tutorial - Null Coalescing


22/11-20 11:52 - edited 22/11-20 15:08
#2 : 22/11-20 15:46
David Lee
David Lee
Posts: 572
The following works for me:
Replace: (.*)(#\d+ )
With: \2\1

Make sure you are selecting "Use regular expressions"






22/11-20 15:46
#3 : 23/11-20 08:34
Armaan
Armaan
Posts: 2
Reply to #2:
Thanks a lot.. It works
what does it means \2\1?
would you like to explain me.


23/11-20 08:34 - edited 23/11-20 12:23
#4 : 23/11-20 09:53
David Lee
David Lee
Posts: 572
Reply to #3:
See the User Guide:
www.advancedrenamer.com/user_guide/regular_expresions


23/11-20 09:53