# Remove parenthesis and its content from the Artist field

**URL:** https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932
**Category:** Support
**Created:** [June 24, 2025, 7:10am UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932 "2025-06-24T07:10:38Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tdog](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/d07c76/32.png) [@tdog](https://community.mp3tag.de/u/tdog)
#### Post date: [June 24, 2025, 7:10am UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/1 "2025-06-24T07:10:38Z")

</div>

I need a regular expression that will convert the artist field from  
Artist (some text) to Artist. I had this expression but lost it and can't find anymore.  
Please help.

---

<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 24, 2025, 7:15am UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/2 "2025-06-24T07:15:51Z")

</div>

Please use the search function in this forum. There are many existing solutions already.  
(You can try to replace "parenthesis" with the search term "brackets".)

Or show us what you have tried so far and what is not working for you with real content in your `ARTIST` field.

BTW:  
What do you want to do with `ARTIST` names starting with brackets and with or without spaces like

```auto
(ghost)
(hed) p.e.
(iam)warface

```

or  
`in(COMPLETE)in`

---

<div class="post-metadata">

### Author: ![anon32189785](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@anon32189785](https://community.mp3tag.de/u/anon32189785)
#### Post date: [June 24, 2025, 7:51am UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/3 "2025-06-24T07:51:08Z")

</div>

> [@tdog](#):
>
> Artist (some text)

I'm not sure whether I understand your example? Here is my example:

Artista (some text 1)  
Artiste (some text 2)  
Artisti (some text 3)  
Artisto (some text 4)  
Artistu (some text 5)

find: `(^.*?) (.*)` // depending on your actual field this might need adjustment  
replace: `\1` // I use "Sublime Text" for my RegEx, other editors might use "$1"

![image](https://community.mp3tag.de/uploads/default/original/3X/e/6/e67be2b67284d0f5ff1170375cd3f792f0fb4283.png)

> **[Regexper](https://regexper.com)**
>
> Regular expression visualizer using railroad diagrams

> **[Regexper](https://regexper.com/#%28%5E.*%3F%29%20%28.*%29)**
>
> Regular expression visualizer using railroad diagrams

---

<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 24, 2025, 7:57am UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/4 "2025-06-24T07:57:47Z")

</div>

> [@anon32189785](#):
>
> `(^.*?) (.*)`

This would not work for `ARTIST` names with more then one word like in  
_Another Artist (with text to remove)_

 ![image](https://community.mp3tag.de/uploads/default/original/3X/7/f/7fbf0790af128ee7523ef7219bc26613950447a2.png)  
The preview shows that this would result in:  
_Another_  
and not the expected  
_Another Artist_

---

<div class="post-metadata">

### Author: ![anon32189785](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@anon32189785](https://community.mp3tag.de/u/anon32189785)
#### Post date: [June 24, 2025, 1:03pm UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/5 "2025-06-24T13:03:08Z")

</div>

@LyricsLover, thanks for the actual Mp3tag dialog with the necessary syntax. And of course you are right, but as I said above:

" -\> find: `(^.*?) (.*)` // depending on your actual field this might need adjustment"

Here is the adjustment with an adjusted example:

Art ist a (some text 1)  
Art ist e (some text 2)  
Art ist i (some text 3)  
Art ist o (some text 4)  
Art ist u (some text 5)

adjusted find (and same replace):  
Here is the adjustment with an adjusted example:

```auto
Art ist a (some text 1)
Art ist e (some text 2)
Art ist i (some text 3)
Art ist o (some text 4)
Art ist u (some text 5)

adjusted find (and same replace):

find: (^.*?)( \().*

```

![image(1)](https://community.mp3tag.de/uploads/default/original/3X/1/b/1b59964c3795ce3336788056d58483f33998019d.png)  
visualized RegEx from:  
[Regexper](https://regexper.com/#%28%5E.*%3F%29%28%20%5C%28%29.)\*

---

<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 24, 2025, 1:25pm UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/6 "2025-06-24T13:25:50Z")

</div>

The first search result for "remove content in brackets" already shows:

> [@Remove Parentesis & Square Brackets Content](https://community.mp3tag.de/t/remove-parentesis-square-brackets-content/58521/2):
>
> You could try an action of the type "Replace with Regular Expression" Search string: \s\*\(.\* Replace with: (leave empty) Works for text where the round brackets are the first brackets, just like your example

Adjusted for Convert Tag -\> Tag instead of an Action it would be  
`$regexp(%ARTIST%,'\s*\(.*',)`  
for the most easy variants of  
_Another Artist (with text to remove)_

 ![image](https://community.mp3tag.de/uploads/default/original/3X/d/d/ddfe02f5d34f26e5bdb1a34e12275749a66e89e0.png)

As long as the OP does not provide the actual real content of the `ARTIST` fields, we can only guess what would match it. The same applies to some of the more advanced examples mentioned above.

---

<div class="post-metadata">

### Author: ![tdog](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/d07c76/32.png) [@tdog](https://community.mp3tag.de/u/tdog)
#### Post date: [June 24, 2025, 8:02pm UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/7 "2025-06-24T20:02:06Z")

</div>

> [@LyricsLover](#):
>
> $regexp(%ARTIST%,'\s\*(.\*',)

Thanks.  
`$regexp(%ARTIST%,'\s*\(.*',)` is what I was looking for. For some reason could not easily locate it in the forum.

---

<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: [July 24, 2025, 8:02pm UTC](https://community.mp3tag.de/t/remove-parenthesis-and-its-content-from-the-artist-field/68932/8 "2025-07-24T20:02:37Z")

</div>

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