Feature Request

Advanced Renamer forum
#1 : 02/01-15 12:35
Posts: 1
It would be great if you will add a new feature "Extract & Replace".
I have lots of file named abcd2x01.mov, wsswsda3x01.mov, ecc. where 2 is the episod and 01 the series
I would like a function that recognize 2x01 in the file name and automatically replace the file name with 02-01

Before: abcd2x01.mov
After: 02-01.mov

Thanks a lot


02/01-15 12:35
#2 : 03/01-15 13:52
Kim Jensen
Kim Jensen
Posts: 771
Reply to #1:
Here is a solution that will work for you. Add the replace method and configure it like this:
Text to be replaced: .*(\d+x\d+).*
Replace with: \1
Use regular expressions: Checked
This will match the digit combination (of any length) with a x in between, and remove everything else.

You might also want to zero pad the first number. You can do so by also adding the renumber method and configure it like this:
Number position: 1
Change to: Relative to existing number
Number difference: 0
Zero padding: Manual
Number length: 2

I hope this works for you.

03/01-15 13:52