# Regular expression to split TITLE into WORK and PART

**URL:** https://community.mp3tag.de/t/regular-expression-to-split-title-into-work-and-part/53111
**Category:** Mac
**Created:** [May 5, 2021, 8:26pm UTC](https://community.mp3tag.de/t/regular-expression-to-split-title-into-work-and-part/53111 "2021-05-05T20:26:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bbrip](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/bb73d2/32.png) [@bbrip](https://community.mp3tag.de/u/bbrip)
#### Post date: [May 5, 2021, 8:26pm UTC](https://community.mp3tag.de/t/regular-expression-to-split-title-into-work-and-part/53111/1 "2021-05-05T20:26:59Z")

</div>

Having a bit of a blond time here:

I want to the TITLE tag from Qobuz downloads into WORK and PART tag.

The way the TITLE is formated is:  
ie:  
Cantata XYZ:Choral  
Cantata XYZ:Aria1  
etc...  
Anything before ":" should move into WORK tag, anything that follows ":" should go into PART.

Should be really easy but I fail.... Thanks for any hints.

---

<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: [May 6, 2021, 6:28am UTC](https://community.mp3tag.de/t/regular-expression-to-split-title-into-work-and-part/53111/2 "2021-05-06T06:28:07Z")

</div>

Have a look at the [documentation about actions for the Mac](https://community.mp3tag.de/t/quick-actions-and-action-groups/51882):  
I would use an action of the type "Import tag fields"  
Source: `%title%`  
Target: `%work%:%part%`

---

<div class="post-metadata">

### Author: ![bbrip](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/bb73d2/32.png) [@bbrip](https://community.mp3tag.de/u/bbrip)
#### Post date: [May 6, 2021, 7:15am UTC](https://community.mp3tag.de/t/regular-expression-to-split-title-into-work-and-part/53111/3 "2021-05-06T07:15:04Z")

</div>

> [@ohrenkino](#):
>
> %work%:%part%

Many thanks. I kew it must be simple... That did the trick.

---

<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: [June 5, 2021, 7:15am UTC](https://community.mp3tag.de/t/regular-expression-to-split-title-into-work-and-part/53111/4 "2021-06-05T07:15:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
