# How to i move text after last bracket to another field

**URL:** https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840
**Category:** Support
**Created:** [March 15, 2025, 3:14pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840 "2025-03-15T15:14:45Z")
**Posts on this page:** 20
**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: [March 15, 2025, 3:14pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/1 "2025-03-15T15:14:46Z")

</div>

How do I accomplish this?

Title: I Do (Clean) Ft. jay Z & Andre 3000  
Artist: Young Jeezy

Title: I Do (Clean)  
Artist: Young Jeezy Ft. jay Z & Andre 3000

NOTE 1: I want to move all the text AFTER the bracketed (clean) "Ft. jay Z & Andre 3000"  
and append it to the artist field.so ti shoul be: Young Jeezy Ft. jay Z & Andre 3000

---

<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: [March 15, 2025, 3:28pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/2 "2025-03-15T15:28:43Z")

</div>

Hasn't this been handled in this thread?

> [@Revisit moving text from title to text artist](https://community.mp3tag.de/t/revisit-moving-text-from-title-to-text-artist/67477):
>
> Hello i want to move the text in the parenthesis "Ft. James Blake) and move it to the artist field and leave everything else in place. for example I want to change: Artist: Beyonce Title : Forward (Ft. James Blake) and change it to: Artist: Beyonce Ft. James Blake Title : Forward I've read through the thread and saw that you helped others but when I applied your script, it would either copy EVERYTHING over from the title field or move everything over. I just want to MOVE the info as I out…

---

<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: [March 15, 2025, 4:23pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/3 "2025-03-15T16:23:15Z")

</div>

similar but not the same.. this is kind of an extension of that request. in this case, the text I want is after the brackets, so that's why i asked.

---

<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: [March 15, 2025, 5:00pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/4 "2025-03-15T17:00:26Z")

</div>

Modify the already known regular expression to `'(.*)\)(.*)',$2==$1')')`.  
The rest should be the same.

As the other thread features a lengthy explanation which part does what, I would have assumed that you could have modified it yourself.

---

<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: [March 15, 2025, 6:02pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/5 "2025-03-15T18:02:38Z")

</div>

I will try it and get back with you.

---

<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: [March 15, 2025, 6:39pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/6 "2025-03-15T18:39:34Z")

</div>

I tried to follow the script your previously wrote but could not follow it completely. that particular thread has a lot of cross traffic. After reviewing the action script, Here is what I understand about it. CAN YOU BREAK IT DOWN using simpler terms so I can understand?

 ![a1](https://community.mp3tag.de/uploads/default/original/3X/7/6/76df0532f79b95038c81f7f50c9062a17dcf9ed1.jpeg)

CAN YOU BREAK IT DOWN using simpler terms so I can understand?

---

<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: [March 15, 2025, 6:44pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/7 "2025-03-15T18:44:15Z")

</div>

That screenshot is illegible - I cannot read the important expression.

My suggestion is to use  
`'(.*)\)(.*)',$2==$1')')`.  
instead of  
`'(.*) \((.*)\)',$2==$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: [March 15, 2025, 6:55pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/8 "2025-03-15T18:55:04Z")

</div>

> [@ohrenkino](#):
>
> '(._))(._)',$2==$1')')

You provided me with a script that allowed me to move text in the first parentheses and append it to the ARTIST field. and it works beautifully. here is an example.

![image](https://community.mp3tag.de/uploads/default/original/3X/7/0/700fd4b9d952a30d5e58357016eabaaa59fb51a4.png)

What im asking for now if you to break down that same code in simple easy to understand terms.

%artist% $regexp(%title%,'(._) ((._?)) (.\*)',$2==$1 $3)  
%artist%==%title%

i'm trying to learn it so I can adjust my scripts accordingly.

---

<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: [March 15, 2025, 6:59pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/9 "2025-03-15T18:59:18Z")

</div>

The example in the screenshot is something completely different from

> [@mbrazil05](#):
>
> Title: I Do (Clean) Ft. jay Z & Andre 3000  
> Artist: Young Jeezy
> 
> Title: I Do (Clean)  
> Artist: Young Jeezy Ft. jay Z & Andre 3000

If this is a new problem, then please open a new thread.

In respect to the breakdown: I would appreciate if you could tell me what you understood so far - as I already made such a breakdown in the linked thread and apparently that did not make an impact.  
Or the other way round: the difference between the 2 suggestions is so small that most should already be explained.

---

<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: [March 15, 2025, 7:21pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/10 "2025-03-15T19:21:07Z")

</div>

LET ME TRY THIS ANOTHER WAY. I'm going to break the code down.

here is the title info:  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/e/c/ec2106fb5568c54b3bebd2b1edb059e2a1ea417b.png)

here is action script code:  
(.\*) capture any amount of any characters into the first capture group

Q1. What do you mean by the first capture group? in the example provided, please identify the first capture group?

---

<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: [March 15, 2025, 7:34pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/11 "2025-03-15T19:34:12Z")

</div>

you have to take the whole description:

> [@Revisit moving text from title to text artist](https://community.mp3tag.de/t/revisit-moving-text-from-title-to-text-artist/67477/24):
>
> (.\*) capture any amount of any characters into the first capture group  
> Twerk It
> 
> ( until you reach an opening bracket

To get the grip on regular expressions see the documentation:

> **[Regular Expressions – Mp3tag Documentation](https://docs.mp3tag.de/regex/)**
>
> Documentation on support for regular expressions in Mp3tag. Mp3tag is the universal Tag Editor.

and/or other internet sources.

---

<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: [March 15, 2025, 8:37pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/12 "2025-03-15T20:37:49Z")

</div>

I've read that a gazillion times. Just was trying to understand your code. can you at least help me with a simple break down.. You wrote this code and all im asking is can you break it down. in the example you previously provided, there are parts you did not explain. here is your code again as you originally wrote.

%artist% $regexp(%title%,'(._) ((._))',$2==$1)

Element Purpose

%artist% take the contents of the field %ARTIST%

$regexp use a regular expression with the following parameters

%title% take the contents of the field %TITLE%

(.\*) capture any amount of any characters into the first capture group

( until you reach an opening bracket which has to be escaped with \ as the brackets serve a special purpose otherwise

', - NOT EXPLAINED. WHAT IS THE PURPOSE OF THIS?

(.\*) capture any amount of any characters into the second capture group

) until you reach a closing bracket which has to be escaped with \ as the brackets serve a special purpose otherwise

$2 output the contents of the second capture group

== unique separators for the next, the "guessing" step - could be anything as long as they are unique

$1 Output the contents of the first capture group.

---

<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: [March 15, 2025, 9:36pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/13 "2025-03-15T21:36:58Z")

</div>

Sorry, I can't explain it any better.

---

<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: [March 15, 2025, 9:44pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/14 "2025-03-15T21:44:17Z")

</div>

but your missing parts of your own script. could you at least explain why are those parts in the script?

---

<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: [March 15, 2025, 9:59pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/15 "2025-03-15T21:59:39Z")

</div>

> [@mbrazil05](#):
>
> LET ME TRY THIS ANOTHER WAY.

@mbrazil05 I think you need to take a breath here. You do realize that we are mostly a community of users just like yourself that offer assistance where we can. Nobody is obligated to help, we just do. It is up to you to take what is shared and then build upon that yourself. And BTW an ALL CAPS reply will not be a good way to get more help.

Regex functions are complex and require at least some basic understanding of the fundamentals to use it effectively. You cannot arbitrarily apply Regex functions in mp3tag and hope to get the expected results without making sure they fit exactly what is desired.

Another user (I believe @LyricsLover) shared this site that has helped me understand how functions work in Regex. Feel free to jump over there to learn more.

> **[regex101: build, test, and debug regex](https://regex101.com/)**
>
> Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET, Rust.

---

<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: [March 15, 2025, 10:03pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/16 "2025-03-15T22:03:36Z")

</div>

thank you I appreciate your concern. I'm just frustrated that the question i'm asking, people are assuming it's been asked before when they are not looking at the question i'm asking. I'll take another deep dive on the material you referenced. All im trying to understand is the basics of the code so I can de-construct it myself without asking. and lastly I put the all caps because it was my way of taking the deep breath and trying to ask the question in a different way.

---

<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: [March 15, 2025, 10:13pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/17 "2025-03-15T22:13:52Z")

</div>

> [@mbrazil05](#):
>
> I put the all caps because it was my way of taking the deep breath and trying to ask the question in a different way

A reply in all-caps in most online forums is considered yelling and is actually against the terms of service. Please keep this in mind for the future here.

> [@mbrazil05](#):
>
> people are assuming it's been asked before when they are not looking at the question i'm asking

This is definitely not the case. You have several recent threads here and every one of them is asking for support to manage actions that have been asked and explained here before. That is why the links have been provided for you.

Some of these links may not have the _exact_ requirement for what you seek. Everyone has a different way of managing their library. But the references apply and just need to be adjusted to suit your needs.

---

<div class="post-metadata">

### Author: ![Casual\_Tea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/casual_tea/32/18886_2.png) [@Casual\_Tea](https://community.mp3tag.de/u/Casual_Tea)
#### Post date: [March 17, 2025, 8:27pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/18 "2025-03-17T20:27:07Z")

</div>

I usually use [regexr](https://regexr.com/) to write and test my regexes and then [regexper](https://regexper.com/) to visualize them (helps to identify common mistakes like `.` vs `\.`). But regex101 looks good too.  
There are plenty of good regex video tutorials on youtube, [this one](https://www.youtube.com/watch?v=rhzKDrUiJVk) even uses regexr in the video so you can follow along.

Just take your time and watch it in chunks or multiple times until the fundamentals of regex start to sink in. Once you know the basics you can also formulate your questions in a clearer manner that allows others to quickly help you when you get stuck.

Regex is genuinely fun once you've overcome that regular expressions often look like someone was quite angry at their keyboard.

---

<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: [March 17, 2025, 11:53pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/19 "2025-03-17T23:53:30Z")

</div>

thank you very much fo rthis information

---

<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: [March 17, 2025, 11:55pm UTC](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840/20 "2025-03-17T23:55:14Z")

</div>

TO ALL (YES I'M SHOUTING)

I'M SORRY, VERY SORRY FOR COMING OFF AGRESSIVE YESTERDAY. I SHOULD NOT HAVE TAKEN MY FRUSTRUSTATION OUT ON ANYONE LET ALONE THOSE OF YOU WHO WHERE TRYING TO HELP ME. I'M SORRY, SORRY, SORRY!! and to show contrition, i'll make sure I donate to this forum!! i love me some MP33Tag & this forum in particular. /thread

[Next page](https://community.mp3tag.de/t/how-to-i-move-text-after-last-bracket-to-another-field/67840.md?page=2)
