Author Topic: Multi-Rename Syntax  (Read 12980 times)

Schlaffie

  • Junior Member
  • **
  • Posts: 32
    • View Profile
Multi-Rename Syntax
« 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 "["?

Matthias515566

  • Power Member
  • ****
  • Posts: 325
    • View Profile
Re: Multi-Rename Syntax
« Reply #1 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
« Last Edit: January 01, 2023, 15:49:19 by Matthias515566 »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: Multi-Rename Syntax
« Reply #2 on: January 01, 2023, 16:24:13 »
You should be able to match everything inside the from the [ to the end using RegEx

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 555
  • Old Skull
    • View Profile
Re: Multi-Rename Syntax
« Reply #3 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

Schlaffie

  • Junior Member
  • **
  • Posts: 32
    • View Profile
Re: Multi-Rename Syntax
« Reply #4 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