# Remove certain characters from the MIDDLE of a tag

**URL:** <https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696>\
**Category:** Support\
**Created:** [April 22, 2020, 1:12pm UTC](https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696 "2020-04-22T13:12:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sirrah](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sirrah/32/7613_2.png) [@sirrah](https://community.mp3tag.de/u/sirrah)\
**Post date:** [April 22, 2020, 1:12pm UTC](https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696/1 "2020-04-22T13:12:56Z")

</div>

Hello. I'm trying to do the following:

_change this:_  
Symphony No. 6 in D major H 1/6, "Le Matin" - 1. Adagio-Allegro  
_to this:_  
Symphony No. 6 in D major "Le Matin" - 1. Adagio-Allegro

That is, I want to delete certain characters in the middle of a tag.

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![haldo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/a6a055/32.png) [@haldo](https://community.mp3tag.de/u/haldo)\
**Post date:** [April 22, 2020, 1:32pm UTC](https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696/2 "2020-04-22T13:32:47Z")

</div>

Just perform an action with

REPLACE  
FIELD tag you want to be check %title%  
ORIGINAL H 1/6  
REPLACE WITH leave it blank

---

<div class="post-metadata">

**Author:** ![sirrah](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sirrah/32/7613_2.png) [@sirrah](https://community.mp3tag.de/u/sirrah)\
**Post date:** [April 22, 2020, 2:42pm UTC](https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696/3 "2020-04-22T14:42:58Z")

</div>

Thanks Haldo,

I didn't explain fully. The characters "H 1/6" are not constant. They vary eg H 2/7 etc.

Anyway, I think I found the solution. I used the following:

FORMAT VALUE  
FIELD: Title  
FORMAT STRING: $mid(%title%,1,25)$mid(%title%,33,999)

It took a while to figure this out, but it seem to work.

Thanks anyway for your advice

---

<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:** [April 22, 2020, 3:24pm UTC](https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696/4 "2020-04-22T15:24:46Z")

</div>

> [@sirrah](#):
>
> Symphony No. 6 in D major H 1/6, "Le Matin" - 1. Adagio-Allegro

If the pattern of the string that should get deleted is always "a letter, blank, number, slash, number, comma" then such an action of the type "Format value" would be more flexible as it allows the leading string to be of variable length:  
Format string: `$regexp(%title%,'. \d\/\d, ',)`

---

<div class="post-metadata">

**Author:** ![sirrah](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sirrah/32/7613_2.png) [@sirrah](https://community.mp3tag.de/u/sirrah)\
**Post date:** [April 22, 2020, 3:25pm UTC](https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696/5 "2020-04-22T15:25:49Z")

</div>

THANKS!! That's exactly what I need.

---

<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:28pm UTC](https://community.mp3tag.de/t/remove-certain-characters-from-the-middle-of-a-tag/48696/6 "2026-02-09T12:28:32Z")

</div>


