# Advanced Regex Request (move "(Feat. variable)" to end of title)

**URL:** https://community.mp3tag.de/t/advanced-regex-request-move-feat-variable-to-end-of-title/16191
**Category:** Support
**Created:** [September 29, 2014, 3:05am UTC](https://community.mp3tag.de/t/advanced-regex-request-move-feat-variable-to-end-of-title/16191 "2014-09-29T03:05:54Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![sparkyumr98](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@sparkyumr98](https://community.mp3tag.de/u/sparkyumr98)
#### Post date: [September 29, 2014, 3:05am UTC](https://community.mp3tag.de/t/advanced-regex-request-move-feat-variable-to-end-of-title/16191/1 "2014-09-29T03:05:54Z")

</div>

Dear Regex gurus...

I have reached the limit of my regex knowledge, and cannot figure this problem out.

I have titles such as:

```
Song Title (Feat. Guest Artist) (Deejay Mix)
Song Title 2 (Remix version)
Song Title 3 (Feat. Backup Singer)
Song Title 4 (Mega Dub) (Feat. Someone)

```

I'm looking for a regex set that would be able to grab the Featured Artist info (except for the parens) and isolate it in a temporary field so that I could append it to the end of the Track Artist field.

I started with FORMAT VALUE "TEMP1": %TITLE% and FORMAT VALUE "TEMP2": %TITLE%, then Regex TEMP1: ^(.+)((.+))$ -\> $1 and

```
Regex TEMP2: ^(.+)\((.+)\)$ -> $2 (and putting TEMP2 after ARTIST and TEMP1 back into TITLE)

```

but this doesn't check to see if the TEMP2 actually contains "Feat."

The other thing I've been working with is ([Ff]eat[^)]+), but I don't know how to capture this group so that it could go into another field... and it leaves "()" behind since it ignores the opening and closing parentheses.

Any ideas?

---

_[View the full topic](https://community.mp3tag.de/t/advanced-regex-request-move-feat-variable-to-end-of-title/16191)._
