Avatar of Rouchie
Rouchie
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Build RegExp to change filenames

I have thousands of mp3 files bought from various places.  My folder file list looks something like this:

Mental Project - 6000 (Roman Gertz Shocked Remix).mp3
714225_-_Looks_Good_Original_Mix_456.mp3
01_-_Why_Not_(klang123ltd).mp3
12963_Throw_Your_Hands_Original_Mix.mp3

I have a batch rename EXE but it requires a RegExp to perform the renaming.  Therefore, can anyone provide an expression that does the following:

Replace _-_ with a single space character
Replace _ with a single space character
Replace - with a single space character
Remove any numeric prefix on the filename (but ignore numbers within the file name)

e.g. 714225_-_Looks_Good_Original_Mix_456.mp3 would become
Looks Good Original Mix 456.mp3
Regular Expressions

Avatar of undefined
Last Comment
Rouchie

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
kaufmed

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Rouchie

ASKER
Beautiful - thank you!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23