# Remove 'track' number from title?

**URL:** https://community.mp3tag.de/t/remove-track-number-from-title/5102
**Category:** Support
**Created:** [July 3, 2007, 1:50am UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102 "2007-07-03T01:50:00Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![radio1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@radio1](https://community.mp3tag.de/u/radio1)
#### Post date: [July 3, 2007, 1:50am UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/1 "2007-07-03T01:50:00Z")

</div>

Hi there.

Over the past few years I have been ripping my CDs and converting them to mp3 with EAC, not caring too much about tags or filenames. Recently I have started to rip my CDs to flac, with EAC as well.

These filenames follow as: %artist% - %album% - %track% - %title%

I'd like follow this along and convert (tag -\> filename) my mp3 files to this convention as well. But I am finding it difficult, because when I started ripping and converting (I forget which player I was using), I put the track number in the title, to allow for an album to play in order. But now I can not figure it out how to get the track number out.

I tried tag -\> filename which almost works--  
example:

original filename: (%title% - %artist%) 01. These Are The Days - 10000 Maniacs.mp3  
changes to: 10000 Maniacs - 10,000 Maniacs - MTV Unplugged - 01 - 01. These Are The Days.mp3

All would be well if someone could help me figure out how to remove the 'XX.' from %title%.

Any takers? Please.

---

<div class="post-metadata">

### Author: ![Jelly](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@Jelly](https://community.mp3tag.de/u/Jelly)
#### Post date: [July 3, 2007, 10:35am UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/2 "2007-07-03T10:35:24Z")

</div>

If the track number is already in the ' **%title%**' then the only thing I can think of, which will fix your problem, is to make an action that will replace ' **01.**' ' **02.**' ' **03.**' etc, with nothing.

Then just turn on (if you've turned it off) subdirectories (CTRL+O \> General \> tick/check subdirectories) and load up your music directory and let the action run through all the music.

Lemme know if this will work or not!

---

<div class="post-metadata">

### Author: ![radio1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@radio1](https://community.mp3tag.de/u/radio1)
#### Post date: [July 3, 2007, 1:00pm UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/3 "2007-07-03T13:00:53Z")

</div>

Yeh. I am new to this but I tried:

$replace(%title% - %artist,..".",)  
Clearly this did not work.

I get, "0 out 7123 files renamed".

Any advice?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [July 3, 2007, 3:12pm UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/4 "2007-07-03T15:12:26Z")

</div>

What EXACTLY do you find your id3tag TITLE?  
Is it "01. These Are The Days"?

And is it always filled with "NN. Text until end" (NN for two numbers)?  
No variation like "N. Text until end" or "NNN. Text"?

---

<div class="post-metadata">

### Author: ![radio1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@radio1](https://community.mp3tag.de/u/radio1)
#### Post date: [July 3, 2007, 5:27pm UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/5 "2007-07-03T17:27:39Z")

</div>

Yes. You are exactly correct-- "NN. Text until end"

with: **"01. These Are The Days" = _%title%_** - %artist%.mp3 = filename

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [July 4, 2007, 3:43pm UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/6 "2007-07-04T15:43:59Z")

</div>

Mabye this will help:

Action:  
_Action type:_ **Tag-Felder formatieren**  
_Field:_ **\_FILENAME**  
_Formatstring:_ **%artist% - $right(%title%,$sub($len(%title%),4)) - %album%**

Adjust the desired fields in the Formatstring to your needs. The most important part is the one with the right-part from the title, starting at the 4th position of the string.

Let us know, if it works. ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

---

<div class="post-metadata">

### Author: ![aladoro](https://community.mp3tag.de/user_avatar/community.mp3tag.de/aladoro/32/64_2.png) [@aladoro](https://community.mp3tag.de/u/aladoro)
#### Post date: [July 5, 2007, 5:12am UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/7 "2007-07-05T05:12:41Z")

</div>

you might try a more general approach using a regular expression replace:

field: TITLE  
regexp: ^\d{0,2}[- .\_]\*  
replacewith: (nothing)

this means: delete up to 2 numerical digits followed by blank(s), dot(s), dash(es) and underscore(s) from the beginning of the titel string, ie you catch things like  
1.title, 1 - title, 10 title, 11\_title, etc etc

beware of applying this action to titles like "99 Luftballone", "8000 miles from home" etc 🕶

HTH, andreas

[ChopTrackNo.mta](https://community.mp3tag.de/uploads/default/original/2X/3/38951b4237aa50535a01a293d2bbe95528a0d548.mta) (57 Bytes)

---

<div class="post-metadata">

### Author: ![radio1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@radio1](https://community.mp3tag.de/u/radio1)
#### Post date: [July 5, 2007, 6:28pm UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/8 "2007-07-05T18:28:14Z")

</div>

> [@LyricsLover](#):
>
> Mabye this will help:
> 
> Action:  
> _Action type:_ **Tag-Felder formatieren**  
> _Field:_ **\_FILENAME**  
> _Formatstring:_ **%artist% - $right(%title%,$sub($len(%title%),4)) - %album%**
> 
> Adjust the desired fields in the Formatstring to your needs. The most important part is the one with the right-part from the title, starting at the 4th position of the string.
> 
> Let us know, if it works. ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

Thanks!  
That did the trick.

> [@aladoro](#):
>
> you might try a more general approach using a regular expression replace:
> 
> field: TITLE  
> regexp: ^\d{0,2}[- .\_]\*  
> replacewith: (nothing)
> 
> this means: delete up to 2 numerical digits followed by blank(s), dot(s), dash(es) and underscore(s) from the beginning of the titel string, ie you catch things like  
> 1.title, 1 - title, 10 title, 11\_title, etc etc
> 
> beware of applying this action to titles like "99 Luftballone", "8000 miles from home" etc 🕶
> 
> HTH, andreas

Thank you.

It's great to have such helpful people around.

---

<div class="post-metadata">

### Author: ![WindUpBird](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/43a26b/32.png) [@WindUpBird](https://community.mp3tag.de/u/WindUpBird)
#### Post date: [April 20, 2019, 3:25pm UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/9 "2019-04-20T15:25:57Z")

</div>

Wow I'm glad I found this old thread. I've been dealing with this for literally years. Thanks!

---

<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: [May 26, 2025, 6:18am UTC](https://community.mp3tag.de/t/remove-track-number-from-title/5102/10 "2025-05-26T06:18:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
