# Regex to remove duplicate strings in a field

**URL:** https://community.mp3tag.de/t/regex-to-remove-duplicate-strings-in-a-field/65926
**Category:** Support
**Created:** [September 13, 2024, 7:13pm UTC](https://community.mp3tag.de/t/regex-to-remove-duplicate-strings-in-a-field/65926 "2024-09-13T19:13:59Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [September 13, 2024, 7:20pm UTC](https://community.mp3tag.de/t/regex-to-remove-duplicate-strings-in-a-field/65926/2 "2024-09-13T19:20:57Z")

</div>

> [@lkantrov](#):
>
> Thanks for any suggestions!

See e.g. here:

> [@Delete repeated genre's in the same exact field](https://community.mp3tag.de/t/delete-repeated-genres-in-the-same-exact-field/58954):
>
> I have looked everywhere for a solution, and have found nothing to pre-exist. All the other posts anywhere close to this either deal with multiple fields (I have just one field) named Genre, don't work, or removes everything after the first \\'s, and are several years old posts. I have ONE genre field (not multiple,) and want to cut out duplicates out of the same (not multiple) fields. I can cut it down to this so that every word is separated and ready for it to be applied; …

---

_[View the full topic](https://community.mp3tag.de/t/regex-to-remove-duplicate-strings-in-a-field/65926)._
