# RegEx's not working

**URL:** <https://community.mp3tag.de/t/regexs-not-working/45737>\
**Category:** Support\
**Created:** [June 22, 2019, 6:51am UTC](https://community.mp3tag.de/t/regexs-not-working/45737 "2019-06-22T06:51:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![djdizzle](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ed8c4c/32.png) [@djdizzle](https://community.mp3tag.de/u/djdizzle)\
**Post date:** [June 22, 2019, 6:51am UTC](https://community.mp3tag.de/t/regexs-not-working/45737/1 "2019-06-22T06:51:47Z")

</div>

Hello,

Ever since updating to 2.94, I have not been able to get RegEx's working.

**Original title tag:**  
`Starstrukk (feat. Katy Perry)`

**Action: Guess values**  
_Source format:_  
`%TITLE%$regexp(%ARTIST%,'^(.+?)\s+[[({<]?\s*(?:featuring|feat\.?|ft\.?)\s*([^])}>]+)[])}>]?(.*)`  
_Guessing pattern:_  
`%TITLE%+++%ARTIST%`

Has something been changed in the RegEx engine?

---

<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:** [June 22, 2019, 8:30am UTC](https://community.mp3tag.de/t/regexs-not-working/45737/2 "2019-06-22T08:30:54Z")

</div>

No, nothing has changed.  
But if the data is in the field TITLE and your regular expression tries to use the data from ARTIST then I would say that nothing in this constellation of data and regular expression matches.  
So you are right: this regular expression does not work for the source data.

You can test regular expressions in the function Convert\>tag-Tag.

For the data

> [@djdizzle](#):
>
> Starstrukk (feat. Katy Perry)

and the split into TITLE and ARTIST, the action of the type "Guess value" use  
Source: %title%  
Target: %title% (feat. %artist%)

---

<div class="post-metadata">

**Author:** ![djdizzle](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ed8c4c/32.png) [@djdizzle](https://community.mp3tag.de/u/djdizzle)\
**Post date:** [June 22, 2019, 9:30am UTC](https://community.mp3tag.de/t/regexs-not-working/45737/3 "2019-06-22T09:30:27Z")

</div>

I need to swap the tags around then?

It's been so long since I've used mp3tag... could you please break down the above RegEx?

---

<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:** [June 22, 2019, 9:34am UTC](https://community.mp3tag.de/t/regexs-not-working/45737/4 "2019-06-22T09:34:31Z")

</div>

I see no need for swapping, only for splitting ...  
And I also see no need for a regular expression if you want to deal with a pattern of the type  
TITLE (feat. ARTIST)

---

<div class="post-metadata">

**Author:** ![djdizzle](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ed8c4c/32.png) [@djdizzle](https://community.mp3tag.de/u/djdizzle)\
**Post date:** [June 22, 2019, 9:36am UTC](https://community.mp3tag.de/t/regexs-not-working/45737/5 "2019-06-22T09:36:01Z")

</div>

Ok. What would you recommend then?

---

<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:** [June 22, 2019, 9:36am UTC](https://community.mp3tag.de/t/regexs-not-working/45737/6 "2019-06-22T09:36:44Z")

</div>

See what I wrote about "Guess value"

> [@ohrenkino](#):
>
> and the split into TITLE and ARTIST, the action of the type "Guess value" use  
> Source: %title%  
> Target: %title% (feat. %artist%)

---

<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/regexs-not-working/45737/7 "2026-02-09T12:28:08Z")

</div>


