Filenames

Hi!!

Is there a way to Remove everything Before the Filename

  1. Don't Blame Me → Don't Blame Me
    01.Don't Blame Me → Don't Blame Me
    01Don't Blame Me → Don't Blame Me
    01-Don't Blame Me → Don't Blame Me
    01 - Don't Blame Me → Don't Blame Me
    A1.Don't Blame Me → Don't Blame Me
    D4.Don't Blame Me → Don't Blame Me
    A1-Don't Blame Me → Don't Blame Me

When i have Vinyl Rips Filenames appears like

A1 to F6 Most of the times

I only want to keep "Don't Blame Me"

Thank you

Before we get to create an universal $regexp() you can try the function $trimLeft() or the function $cutLeft().
Examples to be adapted ...

$regexp(%_filename%,'(?#remove leading zeroes)^0+',) $trimLeft(%_filename%,'0')

DD.20160404.2206.CEST

Do i have to create an action

Format Value or Guess value

look what i have

It removes all numbers and A to D and First letter of the filename beginning with A to D

Format Value
_FILENAME
Deviner les modeles
$trimLeft(%filename%,'0123456789ABCD. -')%filename%

I tried yours on an action but no results
$regexp(%_filename%,'(?#remove leading zeroes)^0+',)
$trimLeft(%_filename%,'0')

Martin

$trimLeft($ifgreater($strstr('~'%_filename%,'~A1'),0,$cutLeft(%_filename%,2),%_filename%),'0123456789 -.') $trimLeft($ifgreater($strstr('~'%_filename%,'~B2'),0,$cutLeft(%_filename%,2),%_filename%),'0123456789 -.') $trimLeft($ifgreater($strstr('~'%_filename%,'~C3'),0,$cutLeft(%_filename%,2),%_filename%),'0123456789 -.') $trimLeft($ifgreater($strstr('~'%_filename%,'~D4'),0,$cutLeft(%_filename%,2),%_filename%),'0123456789 -.') $trimLeft($ifgreater($strstr('~'%_filename%,'~E5'),0,$cutLeft(%_filename%,2),%_filename%),'0123456789 -.') $trimLeft($ifgreater($strstr('~'%_filename%,'~F6'),0,$cutLeft(%_filename%,2),%_filename%),'0123456789 -.')

... or ...

$regexp($regexp(%_filename%,'^(A1|B2|C3|D4|E5|F6)',),'^[0123456789 -.]',)

DD.20160405.0047.CEST

Everything Working now

Thank you for your Support

Long Life to MP3TAG

Martin