# Remove duplicate tags?

**URL:** https://community.mp3tag.de/t/remove-duplicate-tags/64703
**Category:** Support
**Created:** [May 18, 2024, 6:52pm UTC](https://community.mp3tag.de/t/remove-duplicate-tags/64703 "2024-05-18T18:52:55Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [May 18, 2024, 7:12pm UTC](https://community.mp3tag.de/t/remove-duplicate-tags/64703/3 "2024-05-18T19:12:49Z")

</div>

Here is a thread that deals with removing duplicate entries in a list:

> [@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)+(?=,|$)…

---

_[View the full topic](https://community.mp3tag.de/t/remove-duplicate-tags/64703)._
