Renaming in sequence for ecommerce - How?

Advanced Renamer forum
#1 : 26/10-18 12:19
Emanuel
Emanuel
Posts: 2
Good morning guys,

I'm using Advanced Renamer for the first time and there's a lot of things that I still don't understand :)

I'm trying to rename some files, to use on a website (ecommerce) but I'm not able to rename them the way I want.

I use Capture One to rename the files like this (each product has 5 photos):

12345_1.jpg
12345_2.jpg
12345_3.jpg
12345_4.jpg
12345_5.jpg

But for the website, the files have to be like this:

[12345]_[n_1].jpg
[12345]_[n_2].jpg
[12345]_[n_3].jpg
[12345]_[n_4].jpg
[12345]_[n_5].jpg

Is there a way to do this?

Thank you!


26/10-18 12:19 - edited 26/10-18 12:23
#2 : 26/10-18 19:39
David Lee
David Lee
Posts: 43
Reply to #1:

Easy!

Use the Replace method and tick "Use regular expressions".

Text to be replaced: (.+)_(.+)
Replace with: [\1]_[n_\2]
Apply to: Name

See www.advancedrenamer.com/user_guide/regular_expresions
Regular Expressions are very confusing at first but quite straightforward once you get used to them.


26/10-18 19:39
#3 : 29/10-18 10:27
Emanuel
Emanuel
Posts: 2
Reply to #2:

Thank you!


29/10-18 10:27