# How to remove leading numbers

**URL:** https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576
**Category:** Support
**Created:** [January 21, 2020, 12:22am UTC](https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576 "2020-01-21T00:22:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![AABoyz](https://community.mp3tag.de/user_avatar/community.mp3tag.de/aaboyz/32/7178_2.png) [@AABoyz](https://community.mp3tag.de/u/AABoyz)
#### Post date: [January 21, 2020, 12:22am UTC](https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576/1 "2020-01-21T00:22:57Z")

</div>

So yes, I've hit a dead-end, has to be simple but it evades me  
trying to make a simple action and I know I've done it before but lost it.

Simply remove leading track numbers from the title column  
01 - Some random Band - some random tune  
so I'm trying to make 2 different actions actually, the one to remove the leading numbers and then remove the band thusly leaving only the title.  
been using this as a reference  
[https://community.mp3tag.de/t/actions-and-batch-operations/967/11?u=aaboyz](https://community.mp3tag.de/t/actions-and-batch-operations/967/11)

---

<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: [January 21, 2020, 5:46am UTC](https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576/2 "2020-01-21T05:46:01Z")

</div>

see e.g. here:

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/11):
>
> How to remove/trim leading track numbers? Action type: Replace with regular expressions Regular expression: ^\s\*\d+\s\*-\s\* Replace matches with: This regular expression removes the track number from 01 - Anything.. so that only Anything... remains. ^ matches the beginning of the string. Then any numbers of whitespaces \s\* followed by numbers from 0-9. The \s\*-\s\* part removes the hyphen and any whitespace characters around it.

and as this is the same target that you have linked, you would have to tell us what you tried, what you expected and what the actual result was.  
Otherwise, you get a copy of that HowTo.

---

<div class="post-metadata">

### Author: ![AABoyz](https://community.mp3tag.de/user_avatar/community.mp3tag.de/aaboyz/32/7178_2.png) [@AABoyz](https://community.mp3tag.de/u/AABoyz)
#### Post date: [January 22, 2020, 6:41pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576/3 "2020-01-22T18:41:56Z")

</div>

okay, the funny thing is that I exactly had done as in the "How To" but it hadn't worked but when I use (today) the action that I had made following the guide, this time it worked, go figure, maybe the computer had bugged out but I'll be honest an point out at the most probable explanation, human error, i.e. me 🙂

On another note, is it possible to remove both the track number and the artist from the title column in one action? and thusly only leaving the title of the actual song, understanding they are entered as in the following example, thank you.

_ **01 - Some random Band -** _ Some random Song Title

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [January 22, 2020, 9:00pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576/4 "2020-01-22T21:00:32Z")

</div>

Define an action of the type "Guess Values".  
Source: %title%  
Format String: %dummy% - %dummy% - %title%

---

<div class="post-metadata">

### Author: ![AABoyz](https://community.mp3tag.de/user_avatar/community.mp3tag.de/aaboyz/32/7178_2.png) [@AABoyz](https://community.mp3tag.de/u/AABoyz)
#### Post date: [January 23, 2020, 10:06pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576/5 "2020-01-23T22:06:32Z")

</div>

Thank You that worked flawlessly, much appreciated o7

---

<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 22, 2020, 10:06pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-numbers/47576/6 "2020-02-22T22:06:37Z")

</div>

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