# Remove the double indication of an ARTIST in the TITLE

**URL:** https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748
**Category:** Support
**Created:** [June 25, 2022, 6:37am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748 "2022-06-25T06:37:25Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)
#### Post date: [June 25, 2022, 6:37am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/1 "2022-06-25T06:37:25Z")

</div>

ARTIST versus TITLE doubles

After I have searched the forum about the topic "featuring",  
I managed to solve most of my issues.  
Currently I would like to solve the following remaining task:  
Remove the double indication of an ARTIST in the TITLE.  
Dups in just one field are discussed and solved already.  
But in this case there are two values to be compared.

Example:

ARTIST: Papik; Paco Di Maso  
TITLE: Balliamo (Featuring Paco Di Maso)

This scheme also appears without the brackets.  
This is to be corrected in:

ARTIST: Papik; Paco Di Maso  
TITLE: Balliamo

Does anyone have a suitable idea using $regexp?

---

<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 25, 2022, 8:13am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/2 "2022-06-25T08:13:27Z")

</div>

I would (as always when there are complicated conditions) first filter for the data.  
E.g.with  
`"$ifgreater($strstr(%title%,$regexp(%artist%,(.*); (.*),$2)),0,yes,no)" IS yes`  
(which filters whether the second artist is part of the TITLE)  
And then remove the bits that describe the featured artist.  
You could then check whether there are other featured artists that are not yet part of the artist field and therefore probably should not be removed.

---

<div class="post-metadata">

### Author: ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)
#### Post date: [June 25, 2022, 8:49am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/3 "2022-06-25T08:49:13Z")

</div>

Ohrenkino, as I have experienced several times, you are an expert on regexp.

However, I am not interested in finding the songs in question, but about correcting them. I would like to do this with a script.  
This script will probably use a regexp in the core again, but I do not get it at the moment how.

---

<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 25, 2022, 9:05am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/4 "2022-06-25T09:05:35Z")

</div>

> [@Roland](#):
>
> you are an expert on regexp

Too much of an honor.  
The problem for me is: I don't know how to go through a list of artists and then look for each whether there is a equivalent in the TITLE.  
What I do know is how to filter for at least 1 occurrance and then remove a whole part of the TITLE, e.g with  
`$regexp(%title%,(.*) \(feat.*,$1)`  
But what about the cases where you have a list of artists like  
2pac; Nate Dogg - All About U (featuring Dru Down; Nate Dogg; Snoop Doggy Dogg)

should then the "featuring" part be removed completely or just the artist that happens to be in the field ARTIST as well? (Why, I would ask myself, aren't the other featured artists in the ARTIST field as well - should they be moved there now?)

And what if there are more than just 2 artists in ARTIST - that is where my skills in regular expressions find their limits. I don't know how to do a "for each".

---

<div class="post-metadata">

### Author: ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)
#### Post date: [June 25, 2022, 9:17am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/5 "2022-06-25T09:17:03Z")

</div>

That are exactly the challenges 😬 to make this task successful.  
The solution will be used once in a week to correct the songs in question.  
I'll think about a script that solves this issue.  
...  
What about to move all artists to ARTIST and remove duplicates?  
But what about "Earth, Wind & Fire" and similars?  
...  
Maybe similar to this:  
[FINDING duplicates](https://community.mp3tag.de/t/merging-several-tag-fields-into-contentgroup/10616/4)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 25, 2022, 9:23am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/6 "2022-06-25T09:23:01Z")

</div>

> [@Roland](#):
>
> What about to move all artists to ARTIST and remove duplicates?

You already have multiple artists in ARTIST.  
If you press ALT + T on this track you can see if there are multiple ARTIST tags filled or only one ARTIST tag with multiple names in the same tag.

---

<div class="post-metadata">

### Author: ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)
#### Post date: [June 25, 2022, 9:24am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/7 "2022-06-25T09:24:52Z")

</div>

_Multiple_ ARTIST is okay,  
_Duplicate_ ARTIST not.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 25, 2022, 9:28am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/8 "2022-06-25T09:28:58Z")

</div>

I know 😉  
There are different ways if you have multiple ARTIST tags or only one.  
Could you please check it or show us a screenshot?

---

<div class="post-metadata">

### Author: ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)
#### Post date: [June 25, 2022, 9:36am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/9 "2022-06-25T09:36:12Z")

</div>

![FEAT-3232](https://community.mp3tag.de/uploads/default/original/2X/3/3ec7fda17804ed2d3c706b96fbf20a01d87a81d6.jpeg)  
This is the discussed item.  
(The final script divides ARTIST in multiple entries.)

Here comes another one:

 ![FEAT-3242](https://community.mp3tag.de/uploads/default/original/2X/9/9c637adfc1461b6cb8b1fba1a27ffd37e7327d4f.jpeg)

Here is another example, even worse:

 ![FEAT-3252](https://community.mp3tag.de/uploads/default/original/2X/5/502c1a1ee20f128f1ba579931ef543d405b635ff.jpeg)

---

<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 25, 2022, 9:39am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/10 "2022-06-25T09:39:28Z")

</div>

See e.g. this thread:

> [@Cleaning up duplicated text inside artist tag](https://community.mp3tag.de/t/cleaning-up-duplicated-text-inside-artist-tag/41881):
>
> I have few mp3s with messed up tags where the same data is duplicated in the artist field. As this picture shows, "Bleachers" is written two times as Artist, anyway to clean this up?

---

<div class="post-metadata">

### Author: ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)
#### Post date: [June 25, 2022, 9:43am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/11 "2022-06-25T09:43:13Z")

</div>

@OHRENKINO: That's exactly the link I referenced in my last answer. 🙃

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 25, 2022, 9:59am UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/12 "2022-06-25T09:59:37Z")

</div>

I hoped that would work for you:

> [@Remove duplicate tags of the same type/field and move artist in TITLE to a new ARTIST field](https://community.mp3tag.de/t/remove-duplicate-tags-of-the-same-type-field-and-move-artist-in-title-to-a-new-artist-field/49928):
>
> As one example I have a file with several ARTIST fields: And I would like to remove the duplicated ARTIST tag that contains Raul Planas. Anybody knows how would I go to accomplish this? Is it possible to do this with MP3Tag? As for the other question. Is there a way to move the artist from (feat. XXXX) from the TITLE field to a new ARTIST field? When I tried the Guess Value it would replace the ARTIST field that already exists and not add one. Thanks.

but in my own tests I couldn't get it working with your example(s).

---

<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:29pm UTC](https://community.mp3tag.de/t/remove-the-double-indication-of-an-artist-in-the-title/57748/13 "2026-02-09T12:29:49Z")

</div>


