# Tags mit identischem Inhalt erkennen und auf 1 Auflistung reduzieren?

**URL:** https://community.mp3tag.de/t/tags-mit-identischem-inhalt-erkennen-und-auf-1-auflistung-reduzieren/56388
**Category:** Allgemein
**Created:** [February 19, 2022, 2:26pm UTC](https://community.mp3tag.de/t/tags-mit-identischem-inhalt-erkennen-und-auf-1-auflistung-reduzieren/56388 "2022-02-19T14:26:57Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [February 19, 2022, 4:36pm UTC](https://community.mp3tag.de/t/tags-mit-identischem-inhalt-erkennen-und-auf-1-auflistung-reduzieren/56388/4 "2022-02-19T16:36:43Z")

</div>

Ich vermute mal, mein Ansatz war zu naiv. Und ich hatte auch nicht wirklich mit dem Ergebnis gerechnet, so dass das ein Zufallstreffer war, wie vermutet.

DetlevD hat mal eine Liste mit Duplikaten reduziert:

> [@Merging several Tag Fields into CONTENTGROUP](https://community.mp3tag.de/t/merging-several-tag-fields-into-contentgroup/10616/4):
>
> ... and here it goes ... Note: If we could sort a delimited itemlist within a tag-field, Mp3tag life would be much easier! If we could repeat one action in a loop, Mp3tag life would be much easier! Example itemlist: ITEMLIST="aaa,aaa,aaa,bbb,ccc,bbb,ddd,ddd,ddd,ccc,eee,fff,GGG,ggg,iii" The itemlist contains 15 items: "aaa" x 3, "bbb" x 2, "ccc" x 2, "ddd" x 3, "eee" x 1, "fff" x 1, "GGG" x 1, "ggg" x 1, "iii" x 1. This regular expression: $regexp(%ITEMLIST%,'(?:^|,)([^,]\*)(,\1)+(?=,|$)…

Ich bin mir aber nicht sicher, ob die Formatierung noch stimmt (vielleicht kann der @Florian mal reingucken und das bereinigen?)

---

_[View the full topic](https://community.mp3tag.de/t/tags-mit-identischem-inhalt-erkennen-und-auf-1-auflistung-reduzieren/56388)._
