# Fix BPM tag?

**URL:** <https://community.mp3tag.de/t/fix-bpm-tag/16102>\
**Category:** Support\
**Created:** [September 3, 2014, 10:07am UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102 "2014-09-03T10:07:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcusj0015](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@marcusj0015](https://community.mp3tag.de/u/marcusj0015)\
**Post date:** [September 3, 2014, 10:07am UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/1 "2014-09-03T10:07:58Z")

</div>

My BPM tags are like this: "00098 BPM" (without the quotes of course)

I want to remove the leading zeros, and the trailing " BPM", I've tried every option I could find, replace with regex, format value, etc; I've copied and modiefed the regexs here, and I've even tried replacing BPM with nothing, and NOTHING will work, idk what i'm doing wrong at this point.

---

<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:** [September 3, 2014, 12:14pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/2 "2014-09-03T12:14:14Z")

</div>

> [@marcusj0015](#):
>
> My BPM tags are like this: "00098 BPM" (without the quotes of course) I want to remove the leading zeros, and the trailing " BPM" ...

Action "Format value" ... or ... Convert "Tag - Tag"

**BPM \<== $regexp('00098 BPM','^0\*(\d+).\*$','$1') ==\> '98'** 

BPM \<== $trimLeft($cutRight('00098 BPM',4),'0') ==\> '98'

 

BPM \<== $trimLeft($cutRight(%BPM%,4),'0')

 

BPM \<== $num('00098 BPM',1) ==\> '98'

 

**BPM \<== $num(%BPM%,1)**

 

DD.20140903.1614.CEST, DD.20150212.1620.CET

---

<div class="post-metadata">

**Author:** ![marcusj0015](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@marcusj0015](https://community.mp3tag.de/u/marcusj0015)\
**Post date:** [September 3, 2014, 12:28pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/3 "2014-09-03T12:28:29Z")

</div>

I tried using $trimLeft($cutRight(%BPM%,4),'0') as both replace with regex and format value, and it's not working; is my mp3tag possibly messed up?

---

<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:** [September 3, 2014, 12:47pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/4 "2014-09-03T12:47:42Z")

</div>

Make sure that you have set Mp3tag to read the proper tag-type.  
Load one media file into Mp3tag, from which you know for sure, that there is such a BPM string in the tag data.  
Select the file and open the dialog "Extended Tags...:".  
Do you see such value '00098 BPM' in the 'Metadata' list?  
What is the name of the tag-field with this value?

DD.20140903.1647.CEST

---

<div class="post-metadata">

**Author:** ![marcusj0015](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@marcusj0015](https://community.mp3tag.de/u/marcusj0015)\
**Post date:** [September 3, 2014, 1:26pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/5 "2014-09-03T13:26:29Z")

</div>

The name of that tag field is just BPM

---

<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:** [September 3, 2014, 1:56pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/6 "2014-09-03T13:56:28Z")

</div>

What file-type have you got?  
I think that mp4 files show bpm in such a format. That's the way it is then.

---

<div class="post-metadata">

**Author:** ![marcusj0015](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@marcusj0015](https://community.mp3tag.de/u/marcusj0015)\
**Post date:** [September 3, 2014, 2:13pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/7 "2014-09-03T14:13:16Z")

</div>

Yeah, they're MP4 files, but it's still REALLY weird that it wouldn't work with a specific file format

---

<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:** [September 3, 2014, 3:36pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/8 "2014-09-03T15:36:50Z")

</div>

AFAIK, mp4 also does not like leading zeros for track. So perhaps they have all gone to the BPM field. No, just kidding.

---

<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:25pm UTC](https://community.mp3tag.de/t/fix-bpm-tag/16102/9 "2026-02-09T12:25:14Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


