# Format Value action deletes multiple fields with same name (2026)

**URL:** https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913
**Category:** Mac
**Created:** [March 21, 2026, 12:39am UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913 "2026-03-21T00:39:24Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Helio\_SS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/helio_ss/32/22287_2.png) [@Helio\_SS](https://community.mp3tag.de/u/Helio_SS)
#### Post date: [March 21, 2026, 12:39am UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/1 "2026-03-21T00:39:24Z")

</div>

Format function deletes my multivalue COMPOSER field

I am using format to replace composers separated by com on multiple fields with the same  
name.

1. In my case, I have the composer field filled “composer a, composer b”  
COMPOSER: a, b
2. the format $replace(%COMPOSER%,',','\\') is applied
3. First run, it creates correctly 2 fields like this:  
COMPOSER: a  
COMPOSER: b

If I run it again, the second field COMPOSER: b is deleted.  
It is a risk because it deletes useful data.

I've tried to split using regexp, but it doesn't work properly.  
In most cases, the \\ is not understood as a field separator.

This bug has been reported for 7 years and is still there.

Regards,  
Helio

---

<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: [March 21, 2026, 7:14am UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/2 "2026-03-21T07:14:45Z")

</div>

> [@Helio\_SS](#):
>
> In most cases, the \ is not understood as a field separator.
> 
> This bug has been reported for 7 years and is still there.

The separator `\\` is a only a visual indicator that there is a multi-value field - please use the forum search function to find threads that deal with seemingly unreplaceable `\\`. In fact the values for these fields are separated by binary zeros.

To deal with all the multi-value fields you have to merge them first

> **[Merge Duplicate Fields – Mp3tag Documentation](https://docs.mp3tag.de/actions/merge-duplicate-fields/)**
>
> Documentation on the Merge Duplicate Fields action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

or with the scripting function $meta\_sep() and set a different separator than `\\`.  
After such a field has been manipulated, it may be split it again.

> **[Split Field by Separator – Mp3tag Documentation](https://docs.mp3tag.de/actions/split-field/)**
>
> Documentation on the Split Field action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

In your workflow

> [@Helio\_SS](#):
>
> If I run it again, the second field COMPOSER: b is deleted

you would have to append the plain %composer% to `$meta_sep(composer,\\)`

So I would say it is intended and known behaviour.

---

<div class="post-metadata">

### Author: ![Helio\_SS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/helio_ss/32/22287_2.png) [@Helio\_SS](https://community.mp3tag.de/u/Helio_SS)
#### Post date: [March 21, 2026, 10:40am UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/3 "2026-03-21T10:40:30Z")

</div>

None of the MP3tag documentation answers refer to the well-known bug in the format function that deletes existing data. Is there any ticket on the backlog to fix it?  
It deletes data silently, and it could be affecting many users.

---

<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: [March 21, 2026, 10:55am UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/4 "2026-03-21T10:55:35Z")

</div>

That you don't know this function and stumbled over it still does not mean it is a bug.  
There are functions to avoid the behaviour that you noticed and there are a lot of threads that deal with multi-value fields and the way to treat them.  
e.g. here:

> [@replace 'Bonobo\\\\Andrew Ashong' with 'Andrew Ashong' in artist](https://community.mp3tag.de/t/replace-bonobo-andrew-ashong-with-andrew-ashong-in-artist/15285):
>
> Help I am stuck How do I setup an Action to 'replace with regular expression' for replace Bonobo\\Andrew Ashong with Andrew Ashong in Artist?? !!! the '\\' characters are defeating me !!! I have tried 'Bonobo\\' \> ' ' to get rid of them but no luck. The '' is a special character and using '' in front should change it to a literal. Hence I need four '' like this '\\'. It doesn't work so I must have not understood correctly. Thanks mark

If you want to insist that the documentation does not say it, then see this explanation about "Replace:

> Replaces the given **Original** string from the selected **Field** with the **Replace** string. If the replacement string is empty, the original string is removed.

It says "Field" and not "Fields" or "type of field".  
Already the failure to replace the `\\` should have triggered a warning for you.

If you want to avoid such problems in the future, do not use multi-value fields (which are evaluated by only very few players anyway) but use a single field with a separator that is not interpreted to split up the fields.  
The semicolon that you chose in the initial run of the (failing) replace action may be a good approach.  
In short: surprising behaviour is not necessarily buggy behaviour.

---

<div class="post-metadata">

### Author: ![Helio\_SS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/helio_ss/32/22287_2.png) [@Helio\_SS](https://community.mp3tag.de/u/Helio_SS)
#### Post date: [March 21, 2026, 12:00pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/6 "2026-03-21T12:00:10Z")

</div>

If you don't want to think about it as a bug, I would say the documention should have a warning to not use it on multi-value field.|  
Multi-Value works properly on my player and fits other purposes for my use case.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [March 21, 2026, 12:08pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/7 "2026-03-21T12:08:50Z")

</div>

> [@Helio\_SS](#):
>
> This bug has been reported for 7 years and is still there.

What confirmed "bug" has been reported?

Working with multi-value tag fields can be challenging. Especially since there are several methods of managing them, depending on the player and media manager being used. Some simply use defined characters within a single string like semicolon or a pair of slashes. Others use strings that have been split into completely separate fields.

Regardless, the only way to work within mp3tag to manage these is to merge them into a single string. Once the desired changes have been applied you can separate them again if you choose. There is currently no way to identify different fields with the same name.

---

<div class="post-metadata">

### Author: ![Helio\_SS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/helio_ss/32/22287_2.png) [@Helio\_SS](https://community.mp3tag.de/u/Helio_SS)
#### Post date: [March 21, 2026, 12:40pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/8 "2026-03-21T12:40:46Z")

</div>

Not totally clear the %composer% in your comment.  
I'm testing this $meta\_sep(composer,\\) to replace , to \\ and got no results at moment

 ![image](https://community.mp3tag.de/uploads/default/original/3X/c/e/ce2d979286a02b85fa1a3edb949f991343532b96.png)

---

<div class="post-metadata">

### Author: ![Helio\_SS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/helio_ss/32/22287_2.png) [@Helio\_SS](https://community.mp3tag.de/u/Helio_SS)
#### Post date: [March 21, 2026, 12:46pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/10 "2026-03-21T12:46:46Z")

</div>

Discogs usually sends composers separeted by coma.  
The whole idea is to split the composers in a mult-value.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 21, 2026, 1:17pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/11 "2026-03-21T13:17:08Z")

</div>

Are you looking for an action that splits the `COMPOSER` field into multiple fields, using the comma `,` as a separator?

You could use an action **Split Tag Field** for that.

 ![image](https://community.mp3tag.de/uploads/default/original/3X/5/f/5fabb3a513f650fbe500d067acb1be2357cf769c.jpeg)

This action can be applied repeatedly on your files, even if you applied the action before so that there are no more fields to separate.

Let me know if this helps!

---

<div class="post-metadata">

### Author: ![Helio\_SS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/helio_ss/32/22287_2.png) [@Helio\_SS](https://community.mp3tag.de/u/Helio_SS)
#### Post date: [March 21, 2026, 2:07pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/12 "2026-03-21T14:07:22Z")

</div>

Already did it and works better form my use case than $format()

---

<div class="post-metadata">

### Author: ![Helio\_SS](https://community.mp3tag.de/user_avatar/community.mp3tag.de/helio_ss/32/22287_2.png) [@Helio\_SS](https://community.mp3tag.de/u/Helio_SS)
#### Post date: [March 21, 2026, 2:10pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/13 "2026-03-21T14:10:33Z")

</div>

Thanks, split tag field works better and is safe.

---

<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: [March 28, 2026, 2:10pm UTC](https://community.mp3tag.de/t/format-value-action-deletes-multiple-fields-with-same-name-2026/70913/14 "2026-03-28T14:10:40Z")

</div>

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