# Deleting ARTIST if exists in ALBUMARTIST

**URL:** <https://community.mp3tag.de/t/deleting-artist-if-exists-in-albumartist/45503>\
**Category:** Support\
**Created:** [May 21, 2019, 10:07pm UTC](https://community.mp3tag.de/t/deleting-artist-if-exists-in-albumartist/45503 "2019-05-21T22:07:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smndnm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@Smndnm](https://community.mp3tag.de/u/Smndnm)\
**Post date:** [May 21, 2019, 10:07pm UTC](https://community.mp3tag.de/t/deleting-artist-if-exists-in-albumartist/45503/1 "2019-05-21T22:07:03Z")

</div>

Hi, What is the REGEX expression to delete the ARTIST entry (not the entire tag) where it also exists as an entry in ALBUMARTIST. The tag entries are separated by a semicolon.  
This will be useful to correctly tag the soloist from the conductors from the orchestras and the composers as I see a lot of duplication from the MusicBrainz database. (I am not complaining about MusicBrainz, it has been spectacularly useful).

Thanks in advance.

---

<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 22, 2019, 4:46am UTC](https://community.mp3tag.de/t/deleting-artist-if-exists-in-albumartist/45503/2 "2019-05-22T04:46:45Z")

</div>

Try an action of the type "Format value" for ALBUMARTIST  
Format string: $replace(%albumartist%,%artist%,)

---

<div class="post-metadata">

**Author:** ![Smndnm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@Smndnm](https://community.mp3tag.de/u/Smndnm)\
**Post date:** [May 22, 2019, 7:16am UTC](https://community.mp3tag.de/t/deleting-artist-if-exists-in-albumartist/45503/3 "2019-05-22T07:16:05Z")

</div>

Super, although I need to apply the "Format value" to ARTIST for it to work as intended and it seems to only work for single entries, but it could just be me not concentrating clearly.

---

<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:** [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/deleting-artist-if-exists-in-albumartist/45503/4 "2026-02-09T12:28:06Z")

</div>


