# Convert Filename-Tag but truncate characters

**URL:** <https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447>\
**Category:** Support\
**Created:** [September 19, 2021, 6:26am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447 "2021-09-19T06:26:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdubose99](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sdubose99](https://community.mp3tag.de/u/sdubose99)\
**Post date:** [September 19, 2021, 6:26am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/1 "2021-09-19T06:26:29Z")

</div>

I want to convert Filename-Tag... how do I truncate the first few characters?

Before (filename): ABC\_Filename\_123.mp3  
After (track title): Filename\_123

---

<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 19, 2021, 6:40am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/2 "2021-09-19T06:40:50Z")

</div>

`%dummy%_%title%`  
I wonder which title has an underscore in it ...

---

<div class="post-metadata">

**Author:** ![sdubose99](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sdubose99](https://community.mp3tag.de/u/sdubose99)\
**Post date:** [September 19, 2021, 6:55am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/3 "2021-09-19T06:55:36Z")

</div>

Awesome, thank you. What should I use if the underscore was not there:

Before (filename): ABCFilename123.mp3  
After (track title): Filename123

---

<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 19, 2021, 7:01am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/4 "2021-09-19T07:01:50Z")

</div>

then try the same without underscore.  
Use %dummy% (and all the text constants like parenthesis) for every bit that you do not want.  
The preview will show whether you are on the right track.

---

<div class="post-metadata">

**Author:** ![sdubose99](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sdubose99](https://community.mp3tag.de/u/sdubose99)\
**Post date:** [September 19, 2021, 7:17am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/5 "2021-09-19T07:17:25Z")

</div>

Doesn't work, how do I trim a certain number of characters (from beginning or the end) if the text is different on every filename

---

<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 19, 2021, 7:26am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/6 "2021-09-19T07:26:49Z")

</div>

couldn't you give a real example?  
You don't say what

> [@sdubose99](#):
>
> Doesn't work

Otherwise: please use the search function as there are numerous threads that deal with this problem. "cut" and "delete" would be suitable search words,  
e.g

> [@cut off filename prefix and store it as a tag](https://community.mp3tag.de/t/cut-off-filename-prefix-and-store-it-as-a-tag/16958):
>
> Hi, I've searched the forum for a while and I can't seem to find the answer to my question. I have a bunch of MP3 and CDG files that have a prefix that I'd like to cut out of the filename (figured out how to do this pretty easily) BUT then store it as the album name tag. Can anyone help me with this? Thank you!

---

<div class="post-metadata">

**Author:** ![Sn1p3r31173](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sn1p3r31173/32/9606_2.png) [@Sn1p3r31173](https://community.mp3tag.de/u/Sn1p3r31173)\
**Post date:** [September 19, 2021, 7:39am UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/7 "2021-09-19T07:39:35Z")

</div>

Try to use Actions ► New ► Remove (Number of your desired Chars) leading chars by Regex. Here is the Example:  
 ![Remove4LeadingChars](https://community.mp3tag.de/uploads/default/original/2X/f/fbf20574e3ef118138cec1a7bfc99d0795dfa43f.jpeg)

![Actions-Remove](https://community.mp3tag.de/uploads/default/original/2X/7/735844b0724dd9822fcd7fcac38314dfc0afc7de.jpeg)

---

<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:29pm UTC](https://community.mp3tag.de/t/convert-filename-tag-but-truncate-characters/54447/8 "2026-02-09T12:29:25Z")

</div>


