Extract between consistent start-end characters in string?

Hi, I'm so sorry if this is somewhere in the FAQ - I looked through but didn't see anything particular to this case.

I was using a player for a while that didn't pick up ALBUM_ARTIST correctly, so for my compilation albums, I swapped the ALBUM_ARTIST into the ARTIST field, and appended the ARTIST field into the TITLE field as TITLE (ARTIST).

Now, the player I'm using supports both ARTIST and ALBUM_ARTIST fields, so I'm trying to go the other way round.

Is there a function available where I can search each string for a beginning "(", extract everything past that, and then stop when it reaches a ")"? All the artist names are of different lengths, but they're all contained within a parentheses.

For example, I'd like to go from this:

Title:
Such and Such Song (Track Artist Name)

Artist:
Various Artists

Album Artist:
Various Artists

to this:

Title:
Such and Such Song

Artist:
Track Artist Name

Album Artist:
Various Artists

Any help is much appreciated!

Dug around and figured it out myself, I just used Guess Values

Source:
%artist%

Pattern:
%title% (%artist%)

Bingo! MP3Tag saves me a ton of time once again! :slight_smile: