Page 1 of 1

Removing numbers from front of titles

PostPosted: Mon Apr 06, 2020 1:04 am
by chrob61
Hello-

I have several song files that look something like this:

10 Crocodile Rock

I've got about 500 files like this. I only want it to be Crocodile Rock

I think I want to choose the files, then go to the "remove (5)" table. Is that right? What selection would I make- remove the first 2 digits?

Thank you

Re: Removing numbers from front of titles

PostPosted: Mon Apr 06, 2020 1:16 pm
by therube
Depending on your file set, that may work fine.
If there is always a space after the first two digits, you may want to change to First: 3.


For a somewhat more complicated set of file names:

1:RegEx
Code: Select all
Match:  ^(\d\d[\s-_])(.*)
Replace:  \2


Match files that start with 2 digits, followed by either a space, a -, or a _, then ignore that part.

Code: Select all
1300.rtf   |1300.rtf
06 - Angry Chair.mp3   |- Angry Chair.mp3
05 - Down In A Hole.mp3   |- Down In A Hole.mp3
19-2 S04E01 - Der falsche Schuldige.mkv   |2 S04E01 - Der falsche Schuldige.mkv
2307.Winters.Dream.(43.2016.1080p).mkv   |2307.Winters.Dream.(43.2016.1080p).mkv
01-01-2017 De Sandwich.mp3   |01-2017 De Sandwich.mp3

(I've place a "bar" | before the start of the renamed file name for readability.)

Re: Removing numbers from front of titles

PostPosted: Mon Apr 06, 2020 1:53 pm
by chrob61
Thank you therube-

I just noticed that the top of the screen shows a preview of what the change will be!

Re: Removing numbers from front of titles

PostPosted: Sun Jun 14, 2020 1:47 pm
by subongo
Hello I have a similar problem removing numbers form the start of many file.
I thought his code would help but I got no joy.
This is what the file names look like:-
14001848_Rubadub.mp3
83027855_Get To The Chopper.mp3
48805275927_Code Name (Dub).mp3

And this is the result I am after
Rubadub.mp3
Get To The Chopper.mp3
Code Name (Dub).mp3

Re: Removing numbers from front of titles

PostPosted: Tue Jun 16, 2020 2:09 pm
by therube
(Duplicated question [from subongo]. Answered here, viewtopic.php?f=12&t=4941.)