# Remove ";" between artists

**URL:** https://community.mp3tag.de/t/remove-between-artists/51091
**Category:** General Discussion
**Created:** [December 9, 2020, 7:58pm UTC](https://community.mp3tag.de/t/remove-between-artists/51091 "2020-12-09T19:58:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![djdanko1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a587f6/32.png) [@djdanko1](https://community.mp3tag.de/u/djdanko1)
#### Post date: [December 9, 2020, 7:58pm UTC](https://community.mp3tag.de/t/remove-between-artists/51091/1 "2020-12-09T19:58:28Z")

</div>

I have a few albums that use ";" between each featuring artist on a tack. Is it possible to remove the ; and add the featuring artists to the title?

---

<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: [December 10, 2020, 6:28am UTC](https://community.mp3tag.de/t/remove-between-artists/51091/2 "2020-12-10T06:28:34Z")

</div>

I would first copy the added artists to a separate field like FEAT\_ARTIST  
Action of the type "Format value" for FEAT\_ARTIST  
Format string: `$regexp(%artist%,'.*?;(.*)',$1)`  
then, if there is more than 1 artist, replace the `;` with another action of the type "Replace" for FEAT\_ARTIST with whatever you want, perhaps a `&`.

Then, with a 3rd action add FEAT\_ARTIST to TITLE:  
Format value for TITLE  
Format string: %title% feat. %feat\_artist%  
Then remove the extra artists from ARTIST with  
Format string: `$regexp(%artist%,'(.*?);.*',$1)`  
and finally delete the field FEAT\_ARTIST.

---

<div class="post-metadata">

### Author: ![djdanko1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a587f6/32.png) [@djdanko1](https://community.mp3tag.de/u/djdanko1)
#### Post date: [December 11, 2020, 7:37pm UTC](https://community.mp3tag.de/t/remove-between-artists/51091/3 "2020-12-11T19:37:44Z")

</div>

Thank you. Can you explain to me what all the characters in the line of code do, so I can better teach myself to do this going forward?

---

<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: [December 11, 2020, 7:43pm UTC](https://community.mp3tag.de/t/remove-between-artists/51091/4 "2020-12-11T19:43:10Z")

</div>

> [@ohrenkino](#):
>
> $regexp(%artist%,'._?;(._)',$1)

a regular expression with the string from the field %artist%:  
`.` = take any character  
`*`= but any number of them  
`?`= and limit that to the smallest possible pattern (non-gready)  
; = up to the semicolon  
`(.*)`= remember this bit which is another "any character of any length"  
`$1`= output that what you found for the first bit to remember

---

<div class="post-metadata">

### Author: ![djdanko1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a587f6/32.png) [@djdanko1](https://community.mp3tag.de/u/djdanko1)
#### Post date: [December 11, 2020, 7:43pm UTC](https://community.mp3tag.de/t/remove-between-artists/51091/5 "2020-12-11T19:43:53Z")

</div>

wow thank you very much. You must be good at coding!
