# Replace Feat Artist Artist1 Artist2

**URL:** <https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379>\
**Category:** Support\
**Created:** [September 10, 2019, 2:49am UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379 "2019-09-10T02:49:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cordobaweb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/51bf81/32.png) [@cordobaweb](https://community.mp3tag.de/u/cordobaweb)\
**Post date:** [September 10, 2019, 2:49am UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/1 "2019-09-10T02:49:05Z")

</div>

Hi Everybody:  
I Need an Action for This:

Artist, Artist1, Artist2, Artist3  
to  
Artist Feat Artist1 & Artist2 & Artist3

Help me Please.. Thanks

---

<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 10, 2019, 4:59am UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/2 "2019-09-10T04:59:56Z")

</div>

Create an action of the type "Format value"  
Format string: `$regexp('Artist, Artist1, Artist2, Artist3','(.*?), (.*)',$1 feat $2)`  
and then an action of the type "Replace"  
Search string: ,  
Replace string: `&`  
But does it make sense?  
What about Artists like  
Dave Dee, Dozy, Beaky, Mick & Tich  
Earth, Wind & Fire  
Emerson, Lake and Palmer  
Bell, Book & Candle  
Blood, Sweat & Tears  
I Will, I swear  
Portugal, The Man

---

<div class="post-metadata">

**Author:** ![cordobaweb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/51bf81/32.png) [@cordobaweb](https://community.mp3tag.de/u/cordobaweb)\
**Post date:** [September 10, 2019, 2:30pm UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/3 "2019-09-10T14:30:31Z")

</div>

Thanks Ohrenkino.

Regex works but literally changes the artist's name to the word Artist.  
In relation to the artists you name I will not use the function with them.

---

<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 10, 2019, 3:14pm UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/4 "2019-09-10T15:14:22Z")

</div>

As you did not mention in which field you wanted to change that string, I assumed that you knew what you were doing.  
You would have to substitute  
`'Artist, Artist1, Artist2, Artist3'`  
with the correct field variable name

---

<div class="post-metadata">

**Author:** ![cordobaweb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/51bf81/32.png) [@cordobaweb](https://community.mp3tag.de/u/cordobaweb)\
**Post date:** [September 10, 2019, 3:37pm UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/5 "2019-09-10T15:37:20Z")

</div>

The field is an artist.  
Would the function look like this?

$regexp('%artist%,'(._?), (._)',$1 feat $2)

The Result is only the word: %artist%  
🙄

---

<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 10, 2019, 4:41pm UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/6 "2019-09-10T16:41:20Z")

</div>

Too few apostrophes or too many.

> [@cordobaweb](#):
>
> $regexp('%artist%,'(. _?), (._ )',$1 feat $2)

should be  
`$regexp(%artist%,'(. *?), (.* )',$1 feat $2)`

---

<div class="post-metadata">

**Author:** ![cordobaweb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/51bf81/32.png) [@cordobaweb](https://community.mp3tag.de/u/cordobaweb)\
**Post date:** [September 11, 2019, 3:30am UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/7 "2019-09-11T03:30:44Z")

</div>

Great! Thanks 😀

---

<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:** [October 11, 2019, 3:30am UTC](https://community.mp3tag.de/t/replace-feat-artist-artist1-artist2/46379/8 "2019-10-11T03:30:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
