Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: Schlaffie on January 01, 2023, 14:06:30

Title: Multi-Rename Syntax
Post by: Schlaffie on January 01, 2023, 14:06:30
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 "["?
Title: Re: Multi-Rename Syntax
Post by: Matthias515566 on January 01, 2023, 15:47:34
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
Title: Re: Multi-Rename Syntax
Post by: Mathias (Author) on January 01, 2023, 16:24:13
You should be able to match everything inside the from the [ to the end using RegEx
Title: Re: Multi-Rename Syntax
Post by: Jungle on January 01, 2023, 17:08:42
What do I have to put in "Find" and "Replase with" so that everything disappears behind the first "["?

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
Title: Re: Multi-Rename Syntax
Post by: Schlaffie on January 01, 2023, 18:16:43
Quote
In Multirename
- check RegEx
- select Replace only name
- in Find edit box type (.*)( \[.*)
- in Replace edit box type $1
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