Multi Commander > Support and Feedback
Multi-Rename Syntax
(1/1)
Schlaffie:
Here's what I want to do:
Multi-Rename
I have several files in this format:
Disembodied Tyrant - The Divine Stigmata [official Lyric Video] 2022) Sw Exclusive.mp3
I want to Multi-Rename them so that they look like this:
Disembodied Tyrant - The Divine Stigmata.mp3
The text in the square bracket is always different!
What do I have to put in "Find" and "Replase with" so that everything disappears behind the first "["?
Matthias515566:
You should create a "Find and Replace - List" with Excel in a Format that u can insert in the sub-window which you find when you click on the three dots button right beside the Add-Button.
Follow this rules, this can all be made with excel.:
Separate each find and replace pair with |
Only one find and replace pair per line
Load - Press F1 to F10
Save - Press F1 to F10 while holding shift key
Mathias (Author):
You should be able to match everything inside the from the [ to the end using RegEx
Jungle:
--- Quote from: Schlaffie on January 01, 2023, 14:06:30 ---What do I have to put in "Find" and "Replase with" so that everything disappears behind the first "["?
--- End quote ---
In Multirename
- check RegEx
- select Replace only name
- in Find edit box type (.*)( \[.*)
- in Replace edit box type $1
Test on fake files at first
Schlaffie:
--- Quote ---In Multirename
- check RegEx
- select Replace only name
- in Find edit box type (.*)( \[.*)
- in Replace edit box type $1
--- End quote ---
Thank you very much, that was the solution!
- check RegEx
- select Replace only name
- in Find edit box type: \[.* This is quite enough!
- in Replace edit box type: $1
Navigation
[0] Message Index
Go to full version