how to remove "THE" from artist?

Hi

Is it possible to remove THE from artist names?

I have currently the following setup under Convert > Tag - Filename:

$upper(%artist%) - $caps(%title%)
THE REVOLVERS - Years In A Day

I really would to like to remove THEs from the bands' names b:)

Thank you in advance.

Cheers

$regexp(%ARTIST%,'(?#From "The Artist" to "Artist")^(?i)(?:the|der|die|das|les)\s+(.+)$','$1') ... or ... $regexp(%ARTIST%,'(?#From "The Artist" to "Artist")^(?i)(?:the|der|die|das|les)\s+',) From: 'Les Depeche Mode'
  <!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->The Beatles<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc-->
  <!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->Die Toten Hosen<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc-->
  <!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->THE REVOLVERS<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc-->
To : 'Depeche Mode'
  <!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->Beatles<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc-->
  <!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->Toten Hosen<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc-->
  <!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->REVOLVERS<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--></b><!--fontc--></span><!--/fontc--><!--sizec--></span><!--/sizec-->

DD.20160320.1303.CET

Thank you.

It worked :slight_smile: ... BUT, how do I add $upper(%artist%) with that as well now?
It should be at the end: REVOLVERS - Years In A Day (Artist - Title).
Would it be possible then?

Greetings

OK, I got it!

$regexp($upper(%artist%),'(?#From "The Artist" to "Artist")^(?i)(?:the|der|die|das)\s+',) - $caps(%title%)

That will give you: BEATLES - A Day In The Life

Thank you again.