# Remove track number from front of artist field

**URL:** https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121
**Category:** Support
**Created:** [June 23, 2024, 9:35am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121 "2024-06-23T09:35:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Automanic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@Automanic](https://community.mp3tag.de/u/Automanic)
#### Post date: [June 23, 2024, 9:35am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/1 "2024-06-23T09:35:06Z")

</div>

I have a number of mp3s, and in the artist field I have track numbers in front of the artist name.

Is there a way of removing the track number only, in bulk?

---

<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: [June 23, 2024, 9:35am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/2 "2024-06-23T09:35:47Z")

</div>

Yes.

If you show us a real example, we can tell you a working solution.

---

<div class="post-metadata">

### Author: ![Automanic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@Automanic](https://community.mp3tag.de/u/Automanic)
#### Post date: [June 23, 2024, 9:40am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/3 "2024-06-23T09:40:11Z")

</div>

Filename: 08 Front 242 - Headhunter  
Title: Headhunter  
Artist: 08 Front 242

How do I remove the '08' which is in front of artist 'Front 242'?

---

<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: [June 23, 2024, 9:45am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/4 "2024-06-23T09:45:32Z")

</div>

You could try it with  
Convert Tag -\> Tag  
Field:  
ARTIST  
and the formatstring:  
`$regexp(%ARTIST%,\d+ (.*),$1)`

This would look for a number and a space in ARTIST and replace it with the following content only.  
The format string only works if you really have a number and a space in front of your ARTIST tag.

Please be aware that this would also remove the number from valid existing ARTIST names with a leading number like `10 Poets` or `100 Monkeys` and others

---

<div class="post-metadata">

### Author: ![Automanic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@Automanic](https://community.mp3tag.de/u/Automanic)
#### Post date: [June 23, 2024, 9:53am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/5 "2024-06-23T09:53:25Z")

</div>

It didn't work but I should have added which will most probably make a difference:

There is a "." after the 08

So in the artist field it shows: 08. Front 242

Would the formatstring have to deal with the "." aswell?

---

<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: [June 23, 2024, 9:55am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/6 "2024-06-23T09:55:11Z")

</div>

Do you have this dot in the filename too or only in the ARTIST tag?

If the dot is only in the ARTIST tag you can use this format string:  
`$regexp(%ARTIST%,\d+\. (.*),$1)`

If the dot is also in the filename as  
08. Front 242 - Headhunter  
then you could also use Convert -\> Filename-Tag with the format string  
`%TRACK%. %ARTIST% - %TITLE%`

---

<div class="post-metadata">

### Author: ![Automanic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@Automanic](https://community.mp3tag.de/u/Automanic)
#### Post date: [June 23, 2024, 10:02am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/7 "2024-06-23T10:02:37Z")

</div>

Thanks for your help.  
That did what I wanted.

---

<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: [July 23, 2024, 10:03am UTC](https://community.mp3tag.de/t/remove-track-number-from-front-of-artist-field/65121/8 "2024-07-23T10:03:27Z")

</div>

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