Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does Renamer support backreferences in regular expressions?

0
Posted

Does Renamer support backreferences in regular expressions?

0

Yes. For Renamer version 4.0.1 and later you can capture groups of a string with (…) and then backreference the groups with $1, $2, … where 1 is the first group and so on. For example if you want to rename files “img_001.jpg”, “img_002.jpg”, “img_00n.jpg” to “01 – Photo.jpg”, “02 – Photo.jpg”, 0n – Photo.jpg”: • Click Search & Replace • In “Search for:” enter “img_0(\d\d)” • In “Replace with:” enter “\1 – Photo” • Select the “Regular expression” tick box • Select “Name only” Note: for Renamer version 4.0 and earlier you can backreference with \1, \2, …

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123