How delete all characters except first 2 in a tag

I've been searching for hours and i can't find a way to delete all characters except the first 2 in a tag...
I try to use the replace with regular expression action but can't do it..
What do i have to do to make it work?
Thanks in advance.

A simple format value action should work. Use the $mid() function to grab everything from the 3rd character to the end of the string. If there's a chance that the third character could be a space then I would also surround that with a $trim() function, as in $trim($mid(%title%,3,999)).

Action type: Format value
Field: TITLE
Format string: $mid(%title%,3,999)

Whoops. I just reread your post. You wan the opposite effect. Still, a format value action will do the trick. Use the $left() function.

Action type: Format value
Field: TITLE
Format string: $left(%title%,2)

1 Like

it works great! thank you very much!
mp3tag is a great tool. it has saved me tons of time.