# Remove artist from title 2

**URL:** https://community.mp3tag.de/t/remove-artist-from-title-2/66712
**Category:** Support
**Created:** [December 4, 2024, 12:17am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712 "2024-12-04T00:17:58Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 4, 2024, 12:17am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/1 "2024-12-04T00:17:58Z")

</div>

I have a bunch of files that have the title and artist together such as this:

- The Humpty Dance Digital Underground (Sickmix Intro) (Clean) 104

how do i go about moving the artist name (Digital Underground) from file name and placing into artist field?

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [December 4, 2024, 1:35am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/2 "2024-12-04T01:35:07Z")

</div>

Without some sort of character to define the separation this will be difficult to automate. In your example  
`The Humpty Dance Digital Underground (Sickmix Intro) (Clean) 104`  
There is no difference in the space characters in the title  
`The Humpty Dance`  
or the Artist  
`Digital Underground`  
nor the rest of the details  
`(Sickmix Intro) (Clean) 104`

This may be an exercise that requires patience to go through each file separately. Assuming the Titles and Artist names will potentially all have different character and word counts, it is not going to be a one-shot solution.

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 4, 2024, 4:08am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/3 "2024-12-04T04:08:40Z")

</div>

yeah i saw that.. but had an idea.. I notice that the artist in the file is right before the text (Sickmix Introl), so I was wondering is there a way to create a script that says take the two words BEFORE the (sickmix intro) text and move to 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: [December 4, 2024, 7:12am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/4 "2024-12-04T07:12:08Z")

</div>

> [@mbrazil05](#):
>
> take the two words

Do all your artists consist of just 2 words? Mine don't. And that is why it is more or less impossible to create a functional action or a matching format string in the convert function.

Try this in Convert\>Tag-Tag for ARTIST  
Format string: `$regexp(%_filename%,'(.+?) (\w+ \w+) \(.*',$2)`

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 4, 2024, 11:30am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/5 "2024-12-04T11:30:37Z")

</div>

your suggestion gets me closer but I notice it COPIES the artist instead of moving them. is there a way i can get it to move the artist instead of copying? if not then i have to figure out how to still get rid of the artist name in the file name.

 ![image](https://community.mp3tag.de/uploads/default/original/3X/0/1/01903506d83287e6b4ee4e4e911e83887b60e973.png)

---

<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 4, 2024, 11:34am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/6 "2024-12-04T11:34:24Z")

</div>

If you want to treat 2 fields, then you need 2 actions.

So, if the first works, try a 2nd of the type "Format value" for TITLE  
Format string: `$replace(%title%,%artist% ,)`

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 5, 2024, 3:31am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/7 "2024-12-05T03:31:17Z")

</div>

> [@ohrenkino](#):
>
> $replace(%title%,%artist% ,)

yes, this worked... thanks

---

<div class="post-metadata">

### Author: ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)
#### Post date: [December 5, 2024, 3:32am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/8 "2024-12-05T03:32:04Z")

</div>

how do i do the script if the artist consist of three words or 4 words?

---

<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 5, 2024, 6:34am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/9 "2024-12-05T06:34:34Z")

</div>

Adapt the number of `\w+` accordingly

---

<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: [January 4, 2025, 6:35am UTC](https://community.mp3tag.de/t/remove-artist-from-title-2/66712/10 "2025-01-04T06:35:31Z")

</div>

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