# How to remove leading zeroes from multiple Albums?

**URL:** <https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835>\
**Category:** Support\
**Created:** [August 4, 2020, 6:59pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835 "2020-08-04T18:59:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pretzel](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pretzel/32/9961_2.png) [@pretzel](https://community.mp3tag.de/u/pretzel)\
**Post date:** [August 4, 2020, 6:59pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835/1 "2020-08-04T18:59:19Z")

</div>

![image](https://community.mp3tag.de/uploads/default/original/2X/e/e517390ea13e0e0627c9b16ac059a198de37b036.png)

As you can see in the image, I want to get rid of the two zeroes, to make the album titles "Super Eurobeat _x_" instead of "00_x_". I know of the `$num(%track%,2)` string, and its similar to what I want to do, but for album titles.

---

<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:** [August 4, 2020, 7:39pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835/2 "2020-08-04T19:39:22Z")

</div>

What is "Super Eurobeat xxx"?  
Ist is the filename?  
Is it the tag-field "title"?  
Is it the tag-field "album"?  
Is "xxx" also in the tag-field "track"?

---

<div class="post-metadata">

**Author:** ![pretzel](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pretzel/32/9961_2.png) [@pretzel](https://community.mp3tag.de/u/pretzel)\
**Post date:** [August 4, 2020, 7:43pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835/3 "2020-08-04T19:43:26Z")

</div>

Ah I realized I didn't clarify that anywhere but the title. It's _Super Eurobeat_ is an album and they're numbered. I want to get rid of the zeroes in front of the numbers in the album titles.

---

<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:** [August 5, 2020, 7:17am UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835/4 "2020-08-05T07:17:07Z")

</div>

If I understand you correct "Super Eurobeat xxx" is the content of the tagfield ALBUM and you want to strip the leading zeros from the numerical part of the content.  
Try this:  
Select `Convert->Tag-Tag`  
Field: ALBUM  
Format string: `$cutright(%album%,3)$num($right(%album%,2),1)`

This does only work if there is not other content following the numerical part.  
And my advice:  
Always test first with copies of your files.

---

<div class="post-metadata">

**Author:** ![pretzel](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pretzel/32/9961_2.png) [@pretzel](https://community.mp3tag.de/u/pretzel)\
**Post date:** [August 5, 2020, 6:00pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835/5 "2020-08-05T18:00:40Z")

</div>

Thanks, that's what I was looking for! And I think I understand the string you sent, so I might be able to tweak as necessary. 👍

---

<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:** [August 6, 2020, 3:08pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835/6 "2020-08-06T15:08:39Z")

</div>

> [@pretzel](#):
>
> Super Eurobeat _x_

You could use a simple replace action for ALBUM where you replace "blank zero" with just "blank".  
Do that until you get not more hits.

---

<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:** [September 5, 2020, 3:08pm UTC](https://community.mp3tag.de/t/how-to-remove-leading-zeroes-from-multiple-albums/49835/7 "2020-09-05T15:08:43Z")

</div>

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