Multi rename tool: insert dash after MP3 track number

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Corey
Junior Member
Junior Member
Posts: 3
Joined: 2012-06-13, 20:18 UTC

Multi rename tool: insert dash after MP3 track number

Post by *Corey »

Example of what I want, these are the files:

Code: Select all

01 The Balkans.mp3
02 Your Majesty.mp3
03 I'll Hae To Cut My Way To Your Heart.mp3
04 If A Stranger Calls You.mp3
05 Joy.mp3
I want to rename them to

Code: Select all

01 - The Balkans.mp3
02 - Your Majesty.mp3
03 - I'll Hae To Cut My Way To Your Heart.mp3
04 - If A Stranger Calls You.mp3
05 - Joy.mp3
I tried with regexp, but don't know how it functions inside TC : / any help?
User avatar
mhe
Junior Member
Junior Member
Posts: 71
Joined: 2003-02-16, 15:09 UTC

Post by *mhe »

Code: Select all

[N1-2] - [N4-]
Enter that as rename mask for the file name. Might look like gibberish, but it's quite logical if you start to fiddle with the range button i think you'll get how it works.
Corey
Junior Member
Junior Member
Posts: 3
Joined: 2012-06-13, 20:18 UTC

Post by *Corey »

Thank you. I made huge mistake by trying to work it through "Search & Replace" dialog, not "Rename mask". So, those placeholders are only for mask dialog, for S&R is RegEx? I tried via RegEx in "Search & Replace", but coulnd't do it, is there a way? I'm asking out of curiosity, to see what power I have with this.
User avatar
mhe
Junior Member
Junior Member
Posts: 71
Joined: 2003-02-16, 15:09 UTC

Post by *mhe »

Corey wrote:Thank you. I made huge mistake by trying to work it through "Search & Replace" dialog, not "Rename mask". So, those placeholders are only for mask dialog, for S&R is RegEx? I tried via RegEx in "Search & Replace", but coulnd't do it, is there a way? I'm asking out of curiosity, to see what power I have with this.
I'm sure it can be done with regex and search and replace as well, but my regex skills are nonexistent :oops:
Match first space, replace by " - "
Sometime like that probably.
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

With regex
Search for

Code: Select all

^\d\d\s
Replace with

Code: Select all

$0- 
Corey
Junior Member
Junior Member
Posts: 3
Joined: 2012-06-13, 20:18 UTC

Post by *Corey »

Thank you solid for clarification.

pozdrav iz Srbije ; )
Post Reply