# Using Regular expressions in tag converting

**URL:** <https://community.mp3tag.de/t/using-regular-expressions-in-tag-converting/19352>\
**Category:** Support\
**Created:** [September 16, 2017, 5:46pm UTC](https://community.mp3tag.de/t/using-regular-expressions-in-tag-converting/19352 "2017-09-16T17:46:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vorticity](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/7ab992/32.png) [@vorticity](https://community.mp3tag.de/u/vorticity)\
**Post date:** [September 16, 2017, 5:46pm UTC](https://community.mp3tag.de/t/using-regular-expressions-in-tag-converting/19352/1 "2017-09-16T17:46:26Z")

</div>

Dear all,  
I think my problem is solvable - a little tricky though.

My POP-Albums have Filenames like  
Beatles\_1965\_Rubber\_Soul\_09\_Girl.mp3

I converted them to tag title (Alt-2) eliminating the '\_' so tag 'title' is now

> > Beatles 1965 Rubber Soul 09 Girl

This is basically OK, specially for classical music, but ...

Playing them in car-devices displays everything ... except the 'real' title - too long...

My intention:  
Converting the tag 'title' so as to delete everything before the first number (digit) resulting in tag 'title' as follows

> > 1965 Rubber Soul 09 Girl

Doing this twice would result in

> > 09 Girl

This would be great! I do have the correct tags ''artist' (Beatles) and 'album' (Rubber Soul)

So the question: What is the convert-command to delete everything before the first 'number'  
Is there a usable regular expression for number ?

Sorry if I could have found that from FAQs - I checked them, but negative. But I suppose for you experts - no problem.

Any help highly appreciated, thanks, Bernd Richter

PS. mp3tag is a great program! Were it not, my mp3s would look much different, much simpler!

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [September 16, 2017, 7:36pm UTC](https://community.mp3tag.de/t/using-regular-expressions-in-tag-converting/19352/2 "2017-09-16T19:36:10Z")

</div>

If you have filled TITLE with e.g. "Beatles 1965 Rubber Soul 09 Girl"  
use an action of the type "Format value" for TITLE  
Format string: $regexp(%title%,.\* (\d+.\*),$1)

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/using-regular-expressions-in-tag-converting/19352/3 "2026-02-09T12:27:01Z")

</div>


