converting name 0551 to Aflevering 551

A swapping-ground for Regular Expression syntax

converting name 0551 to Aflevering 551

Postby Maarten 110 » Mon Apr 02, 2007 5:29 pm

I have some mp3 file named "0251.mp3" upto "0475.mp3". I want to change them to "Aflevering 251.mp3" upto "Aflevering 475.mp3". Can anybody help me, I have been trying everything but nothing works


Maarten 110
Posts: 1
Joined: Mon Apr 02, 2007 4:29 pm

Postby Jane » Tue Apr 03, 2007 5:34 am

In field 12, i.e. Selections(12), enter *.mp3 to select only mp3 files. Then select files in the range you want to change.

In field 1 RegEx(1) enter

Note above starts with a zero not the letter O

and in Replace field put
Aflevering \1

Note there is a space between Aflevering and the \1

Leave the Include Ext. unchecked

In the samples you supplied this seems to do the trick

Posts: 24
Joined: Sat Aug 05, 2006 1:20 am

Postby Admin » Wed Apr 11, 2007 10:16 am

Many thanks Jane.

Of course another alternative is to add "Aflevering " as a filename prefix, and choose to get rid of the 12th character.

Site Admin
Posts: 1506
Joined: Tue Mar 08, 2005 8:39 pm

Return to Regular Expressions