# Remove the text that is in one tag from another

**URL:** <https://community.mp3tag.de/t/remove-the-text-that-is-in-one-tag-from-another/61833>\
**Category:** Support\
**Created:** [August 16, 2023, 2:20pm UTC](https://community.mp3tag.de/t/remove-the-text-that-is-in-one-tag-from-another/61833 "2023-08-16T14:20:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamFestival](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/c4cdca/32.png) [@JamFestival](https://community.mp3tag.de/u/JamFestival)\
**Post date:** [August 16, 2023, 2:20pm UTC](https://community.mp3tag.de/t/remove-the-text-that-is-in-one-tag-from-another/61833/1 "2023-08-16T14:20:24Z")

</div>

Is this do-able?

I have a bunch of files that have no tags, and the filenames are terrible, e.g.  
Stevie Wonder You Are The Sunshine of my Life.FLAC

I have populated all the %title% tags with this filename.

I figure it won't be too much effort to populate the %artist% fields manually.

However, what I would then like to be able to do is run an **Action to remove the contents of the %artist% from the %title% tag** , but I'm struggling with how to define this.  
I appreciate there might be flaws in this, e.g.  
The The This is the Day.FLAC  
would result in:  
%Artist%: The The %Title%: This is Day  
...but I can manually fix anomalies like that.

---

<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:** [August 16, 2023, 2:23pm UTC](https://community.mp3tag.de/t/remove-the-text-that-is-in-one-tag-from-another/61833/2 "2023-08-16T14:23:50Z")

</div>

Try an action of the type "Format value" or Convert\>Tag-Tag for TITLE  
Format string: `$replace(%title%,%artist% ,)`

(The converter has a preview, so you can check if it works)

---

<div class="post-metadata">

**Author:** ![JamFestival](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/c4cdca/32.png) [@JamFestival](https://community.mp3tag.de/u/JamFestival)\
**Post date:** [August 16, 2023, 2:27pm UTC](https://community.mp3tag.de/t/remove-the-text-that-is-in-one-tag-from-another/61833/3 "2023-08-16T14:27:21Z")

</div>

That worked! Thank you!!!

---

<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:** [September 15, 2023, 2:27pm UTC](https://community.mp3tag.de/t/remove-the-text-that-is-in-one-tag-from-another/61833/4 "2023-09-15T14:27:51Z")

</div>

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