# Format Value with regexp from another field

**URL:** <https://community.mp3tag.de/t/format-value-with-regexp-from-another-field/19648>\
**Category:** Support\
**Created:** [January 1, 2018, 5:26pm UTC](https://community.mp3tag.de/t/format-value-with-regexp-from-another-field/19648 "2018-01-01T17:26:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chad](https://community.mp3tag.de/user_avatar/community.mp3tag.de/chad/32/5696_2.png) [@chad](https://community.mp3tag.de/u/chad)\
**Post date:** [January 1, 2018, 5:26pm UTC](https://community.mp3tag.de/t/format-value-with-regexp-from-another-field/19648/1 "2018-01-01T17:26:58Z")

</div>

Suppose I have track names (TITLE) like this on one CD:

Tambourin (Rameau)  
Courante (Lully)

What I'd like to do is extract the composer names (Rameau and Lully) and put them into the COMPOSER field, which is a custom field I've set up in my own tagging system geared toward classical music.

Of course, I can easily remove the composer from the TITLE field like this:

(._) ((._))$ ---\> $1

But when creating a new action of "Format Value," I don't see any way to extract specific parts of the TITLE field and put it into the COMPOSER field.

---

<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:** [January 1, 2018, 5:34pm UTC](https://community.mp3tag.de/t/format-value-with-regexp-from-another-field/19648/2 "2018-01-01T17:34:52Z")

</div>

> [@MezzoFortissimo](#):
>
> ...  
> But when creating a new action of "Format Value," I don't see any way to extract specific parts of the TITLE field and put it into the COMPOSER field.

COMPOSER is no custom field but a standard one.  
An action of the type "Guess value" for  
source: %title%  
Pattern: %title% (%composer%)  
might help you.

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [January 1, 2018, 5:45pm UTC](https://community.mp3tag.de/t/format-value-with-regexp-from-another-field/19648/3 "2018-01-01T17:45:56Z")

</div>

Or to edit your reg expression..

**Format** action.  
Format: COMPOSER  
With: $regexp(%composer%,.\*(([^(]+))$,$1)

---

<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:27pm UTC](https://community.mp3tag.de/t/format-value-with-regexp-from-another-field/19648/4 "2026-02-09T12:27:09Z")

</div>


