#1 : 30/04-21 16:48 BLIER
Posts: 2
|
I try unsuccessfully to obtain the following operation
Original file name pattern : wwwwxxxxxxxxxxxxxxxxxYYYYYzzz in which the number of characters xxxxxxx is undetermined. The final file name should be : wwwwYYYYYxxxxxxxxxxxxxxxxxzzz whatever the number of "x" I tried the move method, check Backwards, Move from 4, Move count 5, then I would need to refer to the Destination as 5th character from beginning. Is it possible without writing a script that I am not skilled enough to perform ? Thanks for your help |
#2 : 30/04-21 18:54 David Lee
Posts: 1125
|
Use the Replace method with a Regular Expression...
Replace: ^(.{4})(.*)(.{5})(.{3})$ With: \1\3\2\4 Use regular expressions See: www.advancedrenamer.com/user_guide/method_replace and: www.advancedrenamer.com/user_guide/regular_expresions |
#3 : 30/04-21 19:57 BLIER
Posts: 2
|
Reply to #2:
Thank you for you kind and so rapid help Alain |