# how remove 00 from 001 and leaving 1?

**URL:** https://community.mp3tag.de/t/how-remove-00-from-001-and-leaving-1/7899
**Category:** Support
**Created:** [February 7, 2009, 10:54am UTC](https://community.mp3tag.de/t/how-remove-00-from-001-and-leaving-1/7899 "2009-02-07T10:54:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bagzilla](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/8dc957/32.png) [@bagzilla](https://community.mp3tag.de/u/bagzilla)
#### Post date: [February 7, 2009, 10:54am UTC](https://community.mp3tag.de/t/how-remove-00-from-001-and-leaving-1/7899/1 "2009-02-07T10:54:15Z")

</div>

How can I remove the 00 from 001, leaving 1, etc. The number of songs?  
For example  
001\> 1  
012\> 12  
095\> 95, etc.

---

<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: [February 7, 2009, 11:15am UTC](https://community.mp3tag.de/t/how-remove-00-from-001-and-leaving-1/7899/2 "2009-02-07T11:15:10Z")

</div>

Three ways of removing leading zeroes:

$num('001',1)

$regexp('001','^0+',,0)

$regexp('001','^0+(.\*)',$1,0)

Maybe there are more solutions.

DD.20090207.1314.CET

---

<div class="post-metadata">

### Author: ![bagzilla](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/8dc957/32.png) [@bagzilla](https://community.mp3tag.de/u/bagzilla)
#### Post date: [February 7, 2009, 12:20pm UTC](https://community.mp3tag.de/t/how-remove-00-from-001-and-leaving-1/7899/3 "2009-02-07T12:20:38Z")

</div>

this works, thx. 🙂

---

<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:21pm UTC](https://community.mp3tag.de/t/how-remove-00-from-001-and-leaving-1/7899/4 "2026-02-09T12:21:22Z")

</div>


