# Specific part of Title tag in other field

**URL:** <https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251>\
**Category:** Support\
**Created:** [December 30, 2023, 12:20pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251 "2023-12-30T12:20:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 12:20pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/1 "2023-12-30T12:20:04Z")

</div>

Hi everybody, i have multiple titles named as follow:

Title example: Via Verdi - Diamond [OLD 80]

i would like to COPY everything in between [] square parenthesis in GENRE field to result as follow:

Title: Via Verdi - Diamond [OLD 80]  
Genre: OLD 80

exacltly as that.

please anybody could help? thanks

---

<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 30, 2023, 1:00pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/2 "2023-12-30T13:00:03Z")

</div>

> [@MADJ](#):
>
> Via Verdi - Diamond [OLD 80]

You can use the Action (Quick)\>Guess Values here.  
Source: `TITLE`  
Pattern: `%dummy% [%genre%]`

This will not change the existing Title details.

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 1:18pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/3 "2023-12-30T13:18:00Z")

</div>

Hi MotleyG,  
thanks for your reply wich solve my problem, but i have another variation to add if it's possible:

Title example: Via Verdi - Diamond [OLD 80] \*\*\*

result:

Title: Via Verdi - Diamond [OLD 80] \*\*\*  
Genre: OLD 80 \*\*\*

this means add to genre what comes after ] last parenthesis separated by one space

maybe i ask too much but hope you solve it,  
Thanks again

---

<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 30, 2023, 1:28pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/4 "2023-12-30T13:28:03Z")

</div>

You could try an action of the type "Format value" for GENRE  
Format string: `$regexp(%title%,'.*\[(.*)\].*',$1)`

---

<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 30, 2023, 1:31pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/5 "2023-12-30T13:31:54Z")

</div>

Another possible solution for your existing content in TITLE  
Via Verdi - Diamond [OLD 80] \*\*\*  
would be:  
Action "Format Value":  
Format String:  
`$regexp(%TITLE%,'.*\[(.*)\] (.*)',$1 $2)`  
That would fill GENRE with  
`OLD 80 ***`  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/5/5beeed019425c7df89111e83af1568faa77e0a30.png)

Or do you don't want to add the content after the closing ] bracket in GENRE?

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 1:39pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/6 "2023-12-30T13:39:26Z")

</div>

![Sin título](https://community.mp3tag.de/uploads/default/original/2X/a/a6111fc2b61a1ba8d399560af45128b33cabc637.jpeg)  
As you all can see in the picture i post, the rule created by MotleyG copy in genre everything between parenthesis and its ok till here  
BUT  
in some titles i have one or two or more \* after ] parenthesis,  
that means i need also whatever comes after ] placed in genre.  
hope i explained well

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 1:45pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/7 "2023-12-30T13:45:14Z")

</div>

This is an example picture how it should be (with one space before asterisk(s) )  
 ![Sin título](https://community.mp3tag.de/uploads/default/original/2X/c/c886f0c79d9166f04b11612f13146cbdd028591f.jpeg)

---

<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 30, 2023, 1:51pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/8 "2023-12-30T13:51:12Z")

</div>

You could try an action of the type "Format value" for GENRE  
Format string: `$replace($regexp(%title%,'.*\[(.*)',$1),']',)`

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 1:56pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/9 "2023-12-30T13:56:23Z")

</div>

this action not working

---

<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 30, 2023, 1:57pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/10 "2023-12-30T13:57:35Z")

</div>

Works over here:  
 ![grafik](https://community.mp3tag.de/uploads/default/original/2X/7/77fb641864ec023367ca14a0860c61b630825f7d.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 30, 2023, 2:02pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/11 "2023-12-30T14:02:17Z")

</div>

> [@MADJ](#):
>
> this action

which action could it be?

> [@ohrenkino](#):
>
> Format string: `$replace($regexp(%title%,'.*\[(.*)',$1),']',)`

or

> [@LyricsLover](#):
>
> Action "Format Value":  
> Format String:  
> `$regexp(%TITLE%,'.*\[(.*)\] (.*)',$1 $2)`

Please post a screenshot of your action.

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 2:02pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/12 "2023-12-30T14:02:20Z")

</div>

it should be generic title to do a multiple transfer to a genere

---

<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 30, 2023, 2:04pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/13 "2023-12-30T14:04:57Z")

</div>

> [@MADJ](#):
>
> generic title

Of course.  
But I assumed that you could do the transfer and replace the example string that you supplied with the fieldname %title%.  
I can only try expressions with strings that you supply - that is why I show you as proof that my suggestion worked with your example string. If you then find that the pattern does not work, it would need more investigations on your side to find whether the example string was really a typical example or the odd one out.

---

<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 30, 2023, 2:10pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/14 "2023-12-30T14:10:19Z")

</div>

> [@ohrenkino](#):
>
> it would need more investigations on your side to find whether the example string was really a typical example or the odd one out.

And for such cases, you could first filter (F3) your list of files and then apply an Action.  
For example to get only the tracks listed where the TITLE includes a closing bracket AND some stars:  
`TITLE HAS ] *`

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 2:11pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/15 "2023-12-30T14:11:15Z")

</div>

in this picture is exactly shown what i need to do, as you can see in genere (from title) appear what in between square parenthesis and after a space aterisks, in some there is one 2 or more asterisks and in some others no asterisks just what in between parenthesis  
 ![Sin título](https://community.mp3tag.de/uploads/default/original/2X/2/2b71114f6ca5b2d750b0f1290de4ef3bcb4afff9.jpeg)

---

<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 30, 2023, 2:13pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/16 "2023-12-30T14:13:43Z")

</div>

Thank you for the screenshot.  
Now we can see what the source data looks like (well, most of it, the start of the TITLE is cut off ...) and what you want to achieve.

And exactly that could be done with the 2 ways suggested by me and @LyricsLover.  
But as you claim that these actions do not work, a screenshot of the action that you applied would help.

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 2:21pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/17 "2023-12-30T14:21:08Z")

</div>

well you need to see just part of title where parenthesis are..  
i use the Action (Quick)\>Guess Values here.  
Source: `TITLE`  
Pattern: `%dummy% [%genre%]

this working ONLY if there is nothing after last square parenthesis.  
i need to complete this rule to have also what comes after ] parenthesis wich will be the asterisks in case there are (or not).  
Maybe i can save this as action without asterisks as i done already and make another one with? dont forget could be more than one asterisks till max 5

---

<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 30, 2023, 4:05pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/18 "2023-12-30T16:05:31Z")

</div>

Please note that @LyricsLover and me talked about an action of the type "Format value" and not "Guess value"

---

<div class="post-metadata">

**Author:** ![MADJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@MADJ](https://community.mp3tag.de/u/MADJ)\
**Post date:** [December 30, 2023, 5:33pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/19 "2023-12-30T17:33:02Z")

</div>

finally i create 2 actions, one for those titles without asterisks and other one for those with.

Thanks for your support, very appreciated

---

<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 30, 2023, 6:16pm UTC](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251/20 "2023-12-30T18:16:00Z")

</div>

Actually,

> [@ohrenkino](#):
>
> Format string: `$replace($regexp(%title%,'.*\[(.*)',$1),']',)`

should take of both cases so that there would not need to be 2 actions.

[Next page](https://community.mp3tag.de/t/specific-part-of-title-tag-in-other-field/63251.md?page=2)
