#1 2011-03-12 20:20

Eron
Member
Registered: 2011-03-12
Posts: 4

Help with regex rule to cleanup filename

Hi,

i need a regex rule to make

Led_Zeppelin-Ramble_On.mp3

to

led zeppelin - ramble on.mp3

Tyvm

Last edited by Eron (2011-03-12 20:29)

Offline

#2 2011-03-12 21:09

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Help with regex rule to cleanup filename

No need for RegEx.

You can do it with this rules:

1) Replace: Replace all "_" with " " (skip extension)
2) Replace: Replace all "-" with " - " (skip extension)
3) Case: All lower case (skip extension)


If this software has helped you, consider getting your pro version. :)

Offline

#3 2011-03-12 21:17

Eron
Member
Registered: 2011-03-12
Posts: 4

Re: Help with regex rule to cleanup filename

Ty but with the second rule files already renamed correctly will be renamed again for the worse smile

led zeppelin  -  ramble on

Last edited by Eron (2011-03-12 21:19)

Offline

#4 2011-03-12 22:27

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Help with regex rule to cleanup filename

uhmmm...

maybe this way...

1) Replace: Replace all "-" with " - " (skip extension)
2) CleanUp: Replace with spaces "_" and Fix spaces
3) Case: All lower case (skip extension)


If this software has helped you, consider getting your pro version. :)

Offline

Board footer

Powered by FluxBB