# Remove Characters from middle of Tag

**URL:** https://community.mp3tag.de/t/remove-characters-from-middle-of-tag/12061
**Category:** General Discussion
**Created:** [May 30, 2011, 4:31pm UTC](https://community.mp3tag.de/t/remove-characters-from-middle-of-tag/12061 "2011-05-30T16:31:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![450](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/4/ce73a5/32.png) [@450](https://community.mp3tag.de/u/450)
#### Post date: [May 30, 2011, 4:31pm UTC](https://community.mp3tag.de/t/remove-characters-from-middle-of-tag/12061/1 "2011-05-30T16:31:34Z")

</div>

Hello mp3tag,

Here is what I'm trying to do:

Title (Before): 1-01 Chrono Trigger - Presentment

Title (After): Presentment  
Disc (After): 1  
Track (After): 01 (I'd prefer if the 0 can be preserved)

1 is the disc number, 01 is the track number. I'd like to automatically set the disc and track number in the appropriate fields if possible. Setting the album automatically isn't necessary.

I have about 1000 files in this format, so I'd like to create an Action but I'm not sure about how to format it. Some help would be appreciated.

Thanks!

---

<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: [May 30, 2011, 4:51pm UTC](https://community.mp3tag.de/t/remove-characters-from-middle-of-tag/12061/2 "2011-05-30T16:51:00Z")

</div>

> [@450](#):
>
> ... Here is what I'm trying to do:  
> Title (Before): 1-01 Chrono Trigger - Presentment  
> Title (After): Presentment  
> Disc (After): 1  
> Track (After): 01 (I'd prefer if the 0 can be preserved)...

If you want to convert from filename to tag-fields, then see there:  
[Converter](https://community.mp3tag.de/t/8016/3)

See also another practical usage for the converter when foldernames are involved too:  
[Extracing ID3 information (artist, title, etc) from file name](https://community.mp3tag.de/t/12056/2)

If you want to convert from one tag-field to multiple tag-fields, then you can use the action "Guess values".  
Source Format:  
%TITLE%  
Formatstring:  
%DISC%-%TRACK% %ALBUM% - %TITLE%  
or maybe ...  
%DISCNUMBER%-%TRACK% %ALBUM% - %TITLE%

If you do not need the ALBUM value, then you may use this formatstring:  
%DISCNUMBER%-%TRACK% %DUMMY% - %TITLE%

Please read the Forum FAQ and read the threads from thousands of other users with the same theme as yours.

By the way ... what has the topic line _"Remove Characters from middle of Tag"_ to do with the described problem?

DD.20110530.2110.CEST

---

<div class="post-metadata">

### Author: ![450](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/4/ce73a5/32.png) [@450](https://community.mp3tag.de/u/450)
#### Post date: [May 30, 2011, 5:29pm UTC](https://community.mp3tag.de/t/remove-characters-from-middle-of-tag/12061/3 "2011-05-30T17:29:42Z")

</div>

Sorry about that. I changed my thoughts after I typed out the topic. I forgot to change it back.

I somehow missed the FAQ when I searched about this on Google.

Thanks for the information.

EDIT: DetlevD, thanks for your help. When I tried it myself, I didn't include the dashes which led to an incorrect output. Thanks again!
