Hi!
I'm currently renaming tons of folders via MRT with RegEx, but I'm stuck at renaming multiple alternations.
For example I have following folders:
April 23
August 23
December 23
and so on (you see, where this is going)
which I wanted to rename all at once to:
2023-04
2023-08
2023-12
...
using following RegEx patterns:
Search: (TEXT1) | (TEXT2) | (TEXT3) ...
Replace: (?1NEW_TEXT1) (?2NEW_TEXT2) (?3NEW_TEXT3) ...
I found this rule somewhere years ago and wrote it down on my RegEx cheat sheet, but unfortunately it doesn't work.
Neither in Notepad++ (where it was written for) nor in Total Commander.
So I wonder if there is any pattern or rule which could do what I am looking for.
Any help appreciated
I'm currently renaming tons of folders via MRT with RegEx, but I'm stuck at renaming multiple alternations.
For example I have following folders:
April 23
August 23
December 23
and so on (you see, where this is going)
which I wanted to rename all at once to:
2023-04
2023-08
2023-12
...
using following RegEx patterns:
Search: (TEXT1) | (TEXT2) | (TEXT3) ...
Replace: (?1NEW_TEXT1) (?2NEW_TEXT2) (?3NEW_TEXT3) ...
I found this rule somewhere years ago and wrote it down on my RegEx cheat sheet, but unfortunately it doesn't work.
Neither in Notepad++ (where it was written for) nor in Total Commander.
So I wonder if there is any pattern or rule which could do what I am looking for.
Any help appreciated
Statistics: Posted by Wojtek — 2024-02-11, 17:04 UTC