# Help with regular expression

**URL:** https://community.mp3tag.de/t/help-with-regular-expression/16342
**Category:** General Discussion
**Created:** [November 18, 2014, 7:03am UTC](https://community.mp3tag.de/t/help-with-regular-expression/16342 "2014-11-18T07:03:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![X-Tropic](https://community.mp3tag.de/user_avatar/community.mp3tag.de/x-tropic/32/7536_2.png) [@X-Tropic](https://community.mp3tag.de/u/X-Tropic)
#### Post date: [November 18, 2014, 7:03am UTC](https://community.mp3tag.de/t/help-with-regular-expression/16342/1 "2014-11-18T07:03:48Z")

</div>

## Hello! Please help... i have a small problem:

I have:

ALBUM: Hello world - Mood Records

I need:

## ALBUM: Hello world PUBLISHER: Mood Records

How to seperate %album% string and all after "- " move to %publisher% ?  
Thanks.

---

<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: [November 18, 2014, 8:08am UTC](https://community.mp3tag.de/t/help-with-regular-expression/16342/2 "2014-11-18T08:08:25Z")

</div>

> [@X-Tropic](#):
>
> ...  
> How to seperate %album% string and all after "- " move to %publisher% ?  
> Thanks.

Create an action of the type "Guess value" (import tag field) for ALBUM  
Enter as string: %album% - %publisher%

---

<div class="post-metadata">

### Author: ![X-Tropic](https://community.mp3tag.de/user_avatar/community.mp3tag.de/x-tropic/32/7536_2.png) [@X-Tropic](https://community.mp3tag.de/u/X-Tropic)
#### Post date: [November 18, 2014, 8:31am UTC](https://community.mp3tag.de/t/help-with-regular-expression/16342/3 "2014-11-18T08:31:08Z")

</div>

> [@ohrenkino](#):
>
> Create an action of the type "Guess value" (import tag field) for ALBUM  
> Enter as string: %album% - %publisher%

Big thank You!
