MRT: How to change "February_03" to "02_03" ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
nn1k3
Member
Member
Posts: 141
Joined: 2007-02-06, 16:59 UTC

MRT: How to change "February_03" to "02_03" ?

Post by *nn1k3 »

How might I use regex in the Multi-Rename Tool to change a filename like February_03_2023.pdf to 02_03_2023.pdf?
FYI, I did read www.ghisler.ch/wiki/index.php/Regular_Expressions but am baffled by the results I am getting. Sorry.





Post split from viewtopic.php?p=437265#p437265
2nn1k3, please don't mix topics, search for an better fitting thread or create a new thread for each different question. Thanks ;-)
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: MRT: How to change "February_03" to "02_03" ?

Post by *Stefan2 »

2nn1k3
- select the files
- open MRT
- press the F1-key and read:
Search & Replace
You can search+replace multiple strings in one step! The strings need to be separated by the vertical line (Alt+124).
Example: Replace Umlauts+Accents:
Search for: ä|ö|ü|é|è|ê|à Replace with: ae|oe|ue|e|e|e|a


So,
Search for: January|February|March
Replace with: 01|02|03





 
Post Reply