# Remove repetition from tag

**URL:** https://community.mp3tag.de/t/remove-repetition-from-tag/45735
**Category:** Support
**Created:** [June 22, 2019, 6:27am UTC](https://community.mp3tag.de/t/remove-repetition-from-tag/45735 "2019-06-22T06:27:41Z")
**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: [June 22, 2019, 8:44am UTC](https://community.mp3tag.de/t/remove-repetition-from-tag/45735/2 "2019-06-22T08:44:41Z")

</div>

I found a thread on repeated artists:

> [@Double Artist Removal](https://community.mp3tag.de/t/double-artist-removal/12604):
>
> Not that great at mp3 tag. I have a lot of files that are formated as such %artist%/%artist% and would like them to be only %artist% E.g. Chicago/Chicago changed to Chicago How would i do this? Thanks

And this regular expression  
`$regexp($replace(In My Arms [Crumbling Down Mix] Crumbling Down Mix,[,,],),'(.+?)/\1','$1')`  
results in  
`"In My Arms Crumbling Down Mix"`  
which has actrually 2 blanks in front of the "crumbling". So it should be easy to replace those with a [if required. The] can be added in the regular expression already as text constant.

---

_[View the full topic](https://community.mp3tag.de/t/remove-repetition-from-tag/45735)._
