# Regex Help

**URL:** https://community.mp3tag.de/t/regex-help/13905
**Category:** Support
**Created:** [September 22, 2012, 7:20am UTC](https://community.mp3tag.de/t/regex-help/13905 "2012-09-22T07:20:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![djphatic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/c0e974/32.png) [@djphatic](https://community.mp3tag.de/u/djphatic)
#### Post date: [September 22, 2012, 7:20am UTC](https://community.mp3tag.de/t/regex-help/13905/1 "2012-09-22T07:20:45Z")

</div>

I am trying to achieve the following:

Source  
ALBUM:  
Global DJ Broadcast (2012-09-13) (Ibiza Summer Sessions) (including Rex Mundi Guestmix on 2012-09-01) [[Livesets.us](http://Livesets.us)]

Target  
ALBUM:  
Global DJ Broadcast (Ibiza Summer Sessions) (including Rex Mundi Guestmix on 2012-09-01)

SETDATE:  
2012-09-13

I already have some actions setup that remove the " [[Livesets.us](http://Livesets.us)]" from the end of the tag and also the " (2012-09-13)" from the tag.

What I can't achieve is putting the date 2012-09-13 into a new tag SETDATE.

The regex I've tested matches it successfully but I can't seem to implement it in mp3tag. Perhaps I am using the wrong syntax or action.

Regex used: \s(([0-9-]+)

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [September 22, 2012, 7:37am UTC](https://community.mp3tag.de/t/regex-help/13905/2 "2012-09-22T07:37:30Z")

</div>

> [@djphatic](#):
>
> ... putting the date 2012-09-13 into a new tag SETDATE. ...

Action: Format value  
Field: SETDATE  
Format string:

**$regexp(%ALBUM%,'^.\*\s\(([0-9\-]+)\).\*$','$1')**

... or ...  
Format string:

**$regexp(%ALBUM%,'^.\*\s\((\d\d\d\d-\d\d-\d\d)\).\*$','$1')**

... or ...  
Action: Guess values  
Source format: %ALBUM%  
Guessing pattern: %TMP1% (%TMP2%) (%TMP3%) (%TMP4%) [%TMP5%]  
... will create five tag-fields for further use.

... or ...  
Action: Guess values  
Source format: %ALBUM%  
Guessing pattern: %DUMMY% (%SETDATE%) (%DUMMY%) (%DUMMY%) [%DUMMY%]  
... will create the tag-field SETDATE.

DD.20120922.1150.CEST

---

<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:24pm UTC](https://community.mp3tag.de/t/regex-help/13905/3 "2026-02-09T12:24:04Z")

</div>


