Hi There,
I made a Tag-Tag action.
Album="AM013_Light Speed"
Album="AMB15_kara"
Album="ATMOS2_French Docs"
Field Discnumber
$regexp(%Album%,(\u{1,3})(\d{1,4}),$1$2)
The data I want to keep is "AM013" however the result is "AM013_Light Speed"..
What am I doing wrong?
Kind Regards
Guy Forssman
You left out the bit you don't want.
$regexp(%Album%,(\u{1,3})(\d{1,4}).,$1$2)
So, just using
$regexp(%Album%,(.)_.*,$1)
would have been enough if the underscore is the separator.
Thank you very much for pointing out my mistake..It works like a charm now