Rouchie
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_Origin al_Mix_456 .mp3
01_-_Why_Not_(klang123ltd) .mp3
12963_Throw_Your_Hands_Ori ginal_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_Origin al_Mix_456 .mp3 would become
Looks Good Original Mix 456.mp3
Mental Project - 6000 (Roman Gertz Shocked Remix).mp3
714225_-_Looks_Good_Origin
01_-_Why_Not_(klang123ltd)
12963_Throw_Your_Hands_Ori
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_Origin
Looks Good Original Mix 456.mp3
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER