# Can I remove/copy some text from all the songs tags?

**URL:** https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984
**Category:** Support
**Created:** [December 3, 2023, 7:17am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984 "2023-12-03T07:17:58Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [December 3, 2023, 7:17am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/1 "2023-12-03T07:17:58Z")

</div>

Hi  
I have already asked but I guess the mod close it

about the titles tag names ,for example song name (remaster ) and another songs called ( original )

I just want to remove from in the field everything inside the () and included "(" and ")"  
in short keep only the title  
can I remove all the `(*)` using the wildcards with empty ?  
and can I copy and remove some tags like (\*) from the titles to comment and remove from the title  
thanks  
I have asked here[in this forum](https://community.mp3tag.de/t/can-i-remove-some-text-from-all-the-songs/61012)

---

<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 3, 2023, 8:21am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/2 "2023-12-03T08:21:18Z")

</div>

If that what you want to remove is always enclosed in brackets, then try:  
Convert\>Tag-Tag for TITLE  
Format string: `$regexp(%title%,\s*\(.*\),)`

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [December 3, 2023, 10:32am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/3 "2023-12-03T10:32:30Z")

</div>

hi  
but can i use with quick action too ?  
replace  
title  
original `$regexp(%title%,\s*\(.*\),)`  
replace with

![immagine](https://community.mp3tag.de/uploads/default/original/2X/e/ed32a861e6ccd2f247dd320e1c029ed46852a9c4.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 3, 2023, 10:37am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/4 "2023-12-03T10:37:13Z")

</div>

You can create either an action of the type "Format value" with the same expression.

Or use an action of the type "Replace with regular expression" where you set the 3 parts of the $regexp() into the corresponding parts of the action dialogue.

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [December 4, 2023, 7:39am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/5 "2023-12-04T07:39:14Z")

</div>

hi

> If that what you want to remove is always enclosed in brackets, then try:  
> Convert\>Tag-Tag for TITLE  
> Format string: `$regexp(%title%,\s*\(.*\),)`

it works  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/2/2222ae655ced5d6ec8ec3158f8327155f93d10b8.png)

but

> Or use an action of the type "Replace with regular expression" where you set the 3 parts of the $regexp() into the corresponding parts of the action dialogue.

but "Replace with regular expression" doesn't work  
 ![Xxc3aCr](https://community.mp3tag.de/uploads/default/original/2X/d/dbb7f43a5facbf0f3a8ca023eabb51c2dedb33e4.png)

ohrenkino , do you think could be added wildcards ? Would be amazing ,think about not high end user but just novices, do you think could ask ? just only "?" and "\*"  
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: [December 4, 2023, 7:43am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/6 "2023-12-04T07:43:02Z")

</div>

Yes. That is right.  
Yo have to split the scritping function $regexp into the 3 parts that you have to enter in the action dialogue:  
%title% -\> FIeld TITLE  
Regular expression: `\s*\(.*\)`  
Replace matches with:  
(leave empty)

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [December 4, 2023, 8:21am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/7 "2023-12-04T08:21:05Z")

</div>

> [@ohrenkino](#):
>
> \s\*(.\*)

hi ohrenkino  
do you think could be asked to add only ? and \* like new a feature ?  
I know regular expression are very very powerful but just not easy for most of users  
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: [December 4, 2023, 8:59am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/8 "2023-12-04T08:59:24Z")

</div>

Did the action work now?

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [December 4, 2023, 9:41am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/9 "2023-12-04T09:41:10Z")

</div>

> Did the action work now?

Hi  
yes it works  
nothing about the possibility to add wildcards  
thanks

---

<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: [December 4, 2023, 9:48am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/10 "2023-12-04T09:48:21Z")

</div>

> [@rama](#):
>
> do you think could ask ? just only "?" and "\*"

Could you please show us an example how you would like to see your "wildcards"?  
Because the `*` and the `.*` in ohrenkinos regular expression already are wildcards.

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [December 4, 2023, 9:57am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/11 "2023-12-04T09:57:20Z")

</div>

> Could you please show us an example how you would like to see your "wildcards"?  
> Because the `*` and the `.*` in ohrenkinos regular expression already are wildcards

Hi  
for example let's say the title is xxx(remastered 2005) or the album name is Transformer(remaster new)  
replace album name or titles/album with %titles% or %album% "minus _(" or even " -_("  
I know it's and could pretty hard to add "wildcards" , regular expressions hard to know and to learn for many users  
I know there is the forum , and great users like ohrenkinos  
It 's just an idea to make mp3tag more easy to use ,that'sall  
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: [December 4, 2023, 10:11am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/12 "2023-12-04T10:11:49Z")

</div>

I could imagine an intermediate simple replace function in which you get an extra option "Search term includes wildcards" and you get ? for a single character, `*` for any number of characters and # for a digit.  
The "Replace with" would contain only string constants, no wildcards.  
But I am not the developer.  
But until then, the much more powerful regular expressions are the only way.

And in general: feature requests are best posted in the "General" section.

---

<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 12, 2023, 6:47am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/13 "2023-12-12T06:47:34Z")

</div>

A post was split to a new topic: [Transform rating stars into values and vice versa](https://community.mp3tag.de/t/transform-rating-stars-into-values-and-vice-versa/63069)

---

<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 11, 2024, 6:47am UTC](https://community.mp3tag.de/t/can-i-remove-copy-some-text-from-all-the-songs-tags/62984/14 "2024-01-11T06:47:50Z")

</div>

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