# Remove track # from Title field

**URL:** <https://community.mp3tag.de/t/remove-track-from-title-field/12827>\
**Category:** Support\
**Created:** [December 17, 2011, 11:15pm UTC](https://community.mp3tag.de/t/remove-track-from-title-field/12827 "2011-12-17T23:15:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlatypusPedersen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/c77e96/32.png) [@PlatypusPedersen](https://community.mp3tag.de/u/PlatypusPedersen)\
**Post date:** [December 17, 2011, 11:15pm UTC](https://community.mp3tag.de/t/remove-track-from-title-field/12827/1 "2011-12-17T23:15:00Z")

</div>

I need to remove track number in the title field, the title field says: 01 - Title, I want it to say only Title.  
I tried creating a regex like described [here](https://community.mp3tag.de/t/521/3).

> [@](#):
>
> Regular expression: ^\s\*[0-9]+\s\*-\s\*  
> Replace with:
> 
> This one will remove the track-number (if followed by a dash) and white space at the beginning of a string  
> (for instance 01 - Come Together will become Come Together)

The regex in the quote above did not work for me. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [December 18, 2011, 3:47am UTC](https://community.mp3tag.de/t/remove-track-from-title-field/12827/2 "2011-12-18T03:47:40Z")

</div>

> [@PlatypusPedersen](#):
>
> What am I doing wrong?

I do not know.

Following expressions can remove leading digits, space, hyphen from the tag-field TITLE ...

**$regexp(%TITLE%,'^\s\*[0-9]+\s\*-\s\*',%DUMMY%)****$trimLeft(%TITLE%,'0123456789 -')**

DD.20111218.0548.CET

---

<div class="post-metadata">

**Author:** ![PlatypusPedersen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/c77e96/32.png) [@PlatypusPedersen](https://community.mp3tag.de/u/PlatypusPedersen)\
**Post date:** [December 18, 2011, 6:43am UTC](https://community.mp3tag.de/t/remove-track-from-title-field/12827/3 "2011-12-18T06:43:01Z")

</div>

For some reason I didn't get that to work either. Thanks for the help nevertheless.  
In the end I just used filename to tag, with %dummy% - %dummy% - %title% - and that worked like a charm.

A couple years ago when I first did a huge batch of cleaning up, I actually managed to successfully play around with the regex, but now I am completely dazzled by it again.

Thanks for the help. 🙂

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [December 18, 2011, 11:04am UTC](https://community.mp3tag.de/t/remove-track-from-title-field/12827/4 "2011-12-18T11:04:10Z")

</div>

> [@PlatypusPedersen](#):
>
> For some reason I didn't get that to work either. Thanks for the help nevertheless. In the end I just used filename to tag, with %dummy% - %dummy% - %title% - and that worked like a charm. ...

Hi PlatypusPedersen, in your first request post you wrote ...

> 01 - Title, I want it to say only Title.

I gave you two scripting expressions in order to apply with an action "Format value".  
Both proposals work successfully with your example string "01 - Title" to give only "Title".

Now you report about a different case looking like that: "%dummy% - %dummy% - %title% -"

In general Mp3tag provides more than one way to find a solutíon.  
You discovered a way for your different case, you have initially not asked for, and it is good, if it works for you.

DD.20111218.1305.CET

---

<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:23pm UTC](https://community.mp3tag.de/t/remove-track-from-title-field/12827/5 "2026-02-09T12:23:31Z")

</div>


