# Add text to a field in automatic action

**URL:** <https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437>\
**Category:** Support\
**Created:** [October 11, 2020, 11:55am UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437 "2020-10-11T11:55:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomvec](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@Tomvec](https://community.mp3tag.de/u/Tomvec)\
**Post date:** [October 11, 2020, 11:55am UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/1 "2020-10-11T11:55:34Z")

</div>

430/5000  
Hello everyone and congratulations to the community for this great and very useful software.

I have the title field incorrectly filled in like this:  
For Example: _I Like Chopin (Extended Mix_  
As you can see, the ")" is missing. This is for over 2000 files in the "title" column.

How can I quickly enter ")" with an automatic action?  
The Result For Exaple: _I Like Chopin (Extended Mix)_

Thanks and happy Sunday from Italy

---

<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:** [October 11, 2020, 12:06pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/2 "2020-10-11T12:06:31Z")

</div>

> [@Tomvec](#):
>
> I Like Chopin (Extended Mix
> 
> I Like Chopin (Extended Mix)

Do you know how to select your "over 2000 files" with the missing ")"?

If yes:

1.) Press ALT + 5 for Convert Tag -\> Tag  
2.) Select or enter `TITLE` as content for **field**  
3) Enter the following **format string** : `%title%)`

![Title](https://community.mp3tag.de/uploads/default/original/2X/2/24993ad2bceb12a37095a7f266441c2ca61378b3.png)

This means: replace all TITLE tags for the selected files with the already available content of %title% and add a ")".

Again: You have to be sure to preselect your tracks!

---

<div class="post-metadata">

**Author:** ![Tomvec](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@Tomvec](https://community.mp3tag.de/u/Tomvec)\
**Post date:** [October 11, 2020, 12:18pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/3 "2020-10-11T12:18:00Z")

</div>

Thank you. it was really easy.  
Total about 2000 tracks, but I select them a little at a time.

What if I wanted to insert the "(" or other character within the title?  
For example: _I Like Chopin Extended Mix)_  
Result: _I Like Chopin (Extended Mix)_  
Thanks again.

---

<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:** [October 11, 2020, 12:55pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/4 "2020-10-11T12:55:23Z")

</div>

For your second question:  
You have to find a specific and unique part in your title-text, like  
" `Extended` "  
_(include a space before and after the word)_  
and [replace](https://docs.mp3tag.de/scripting/#string-functions) it with your leading "(" like  
" `(Extended` "  
_(include a space before and after the word)_

**BUT:**  
This is much more error-prone, beacuse this would also wrongly change titles like  
" love being with my `extended` family" to  
" love being with my `(extended` family"

As long as you don't have a really unique separator it's not possible to fully automate such a task. There is no way to recognize the one and only exact position to add the "(". You could - as example - also wish to get the title "I Like (Chopin Extended Mix)".

Only execute such a change on a very small amount of selected files. Double check your results to be sure that you really get what you want.

---

<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:** [October 11, 2020, 1:10pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/5 "2020-10-11T13:10:57Z")

</div>

> [@LyricsLover](#):
>
> Only execute such a change on a very small amount of selected files

One could reduce the number of possible files with a filter like  
`%title% HAS "(" AND NOT %title% HAS ")"`  
or to find the other variation:  
`%title% HAS ")" AND NOT %title% HAS "("`

---

<div class="post-metadata">

**Author:** ![Tomvec](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@Tomvec](https://community.mp3tag.de/u/Tomvec)\
**Post date:** [October 11, 2020, 2:35pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/6 "2020-10-11T14:35:53Z")

</div>

150/5000  
Unfortunately the length of each title line is different from each other. Therefore impossible to insert in the right position.  
but thanks for the answers anyway.

---

<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:** [October 11, 2020, 3:35pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/7 "2020-10-11T15:35:55Z")

</div>

> [@Tomvec](#):
>
> Unfortunately the length of each title line is different from each other. Therefore impossible to insert in the right position.

If you "Replace" a string then it does not matter at which character position you find it. It is the string that matters.

---

<div class="post-metadata">

**Author:** ![Tomvec](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@Tomvec](https://community.mp3tag.de/u/Tomvec)\
**Post date:** [October 11, 2020, 4:19pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/8 "2020-10-11T16:19:24Z")

</div>

Therefore? What would the action be like in this case?

_You make me cry progressive mix)_  
_You want my love extended mix)_  
_Your love extended mix)_  
_You're my heart, you're my soul mix '98)_

Result:  
You make me cry (progressive mix)  
You want my love (extended mix)  
Your love (extended mix)  
You're my heart, you're my soul (mix '98)

---

<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:** [October 11, 2020, 4:31pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/9 "2020-10-11T16:31:50Z")

</div>

As you have different patterns, you need different approaches.  
For those that end in "mix"  
try an action of the type "Format value" for TITLE  
Format string: `$regexp(%title%,'(.*) (.*)? mix\)','$1 ($2 mix)')`

For those that are then left over like the "mix '98)"  
Use an action of the the type "Replace" for TITLE  
Search string: `mix`  
Replace string: `(mix`

---

<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:** [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/add-text-to-a-field-in-automatic-action/50437/10 "2026-02-09T12:28:52Z")

</div>


