Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: kaymann on September 22, 2019, 23:05:45

Title: Wildcards In MultiRename Search and Replace
Post by: kaymann on September 22, 2019, 23:05:45
Greetings,

I have music files that have some how gotten the track at the beginning of the filename duplicated, for example:

01 01 - Music file title
02 02 - Different Music file
etc.

So I tried using wildcards (?, *, #, %, $, etc) in the MultiRename Search and Replace and got no where.

What am I missing or is it back to Linux to fix literally hundreds of files :-)

Thanks and I did search for a similar post but could not find one...
Title: Re: Wildcards In MultiRename Search and Replace
Post by: Jungle on September 23, 2019, 13:25:50
You may use regular expressions, e.g.
Code: [Select]
(\d*)\s(\1)(.*)|$1$3So it would look like on attached screenshot
Title: Re: Wildcards In MultiRename Search and Replace
Post by: kaymann on September 23, 2019, 14:25:09
Fantastic - thank you for the quick reply!
Title: Re: Wildcards In MultiRename Search and Replace
Post by: Mathias (Author) on September 23, 2019, 18:28:55
Or if you want to remove the 2-3 at the begning just do [N,3]
Title: Re: Wildcards In MultiRename Search and Replace
Post by: kaymann on September 24, 2019, 01:37:38
Again thank you soooo much that is fantastically easy!