# How to perform a tag \> tag conversion using only part of the info in the source field

**URL:** https://community.mp3tag.de/t/how-to-perform-a-tag-tag-conversion-using-only-part-of-the-info-in-the-source-field/68940
**Category:** Support
**Created:** [June 25, 2025, 6:00am UTC](https://community.mp3tag.de/t/how-to-perform-a-tag-tag-conversion-using-only-part-of-the-info-in-the-source-field/68940 "2025-06-25T06:00:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MP3TaggingJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e19b73/32.png) [@MP3TaggingJ](https://community.mp3tag.de/u/MP3TaggingJ)
#### Post date: [June 25, 2025, 6:00am UTC](https://community.mp3tag.de/t/how-to-perform-a-tag-tag-conversion-using-only-part-of-the-info-in-the-source-field/68940/1 "2025-06-25T06:00:00Z")

</div>

I have a problem that involves using a "tag \> tag" conversion with a regular expressions.

As an example, in the Title field, I have: "The Sleeping Beauty (Suite), Op. 66a, TH. 234: I. Introduction - The Lilac Fairy." I want to take the info about the work only ("The Sleeping Beauty (Suite), Op. 66a, TH. 234"), and make it the album title.

What I've used unsuccessfully is this tag \> tag conversion: "`$regexp(%TITLE%,(.*) - .*,$1)`" Unfortunately, that succeeds in copying all the Title info, when I only want the first part.

I'm unable to find a way to format the regexp value to do that.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 25, 2025, 6:12am UTC](https://community.mp3tag.de/t/how-to-perform-a-tag-tag-conversion-using-only-part-of-the-info-in-the-source-field/68940/2 "2025-06-25T06:12:33Z")

</div>

If you want to split/cut at `:` then use this `:` instead of the minus:

`$regexp(%TITLE%,(.*): .*,$1)`

Would be translated as follows:  
Keep everything to the left of the colon `:` followed by a space, and throw away the rest.

---

<div class="post-metadata">

### Author: ![MP3TaggingJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e19b73/32.png) [@MP3TaggingJ](https://community.mp3tag.de/u/MP3TaggingJ)
#### Post date: [June 25, 2025, 6:39am UTC](https://community.mp3tag.de/t/how-to-perform-a-tag-tag-conversion-using-only-part-of-the-info-in-the-source-field/68940/3 "2025-06-25T06:39:09Z")

</div>

Perfect! That got it!

I really appreciate your help--again!

---

<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: [July 25, 2025, 6:40am UTC](https://community.mp3tag.de/t/how-to-perform-a-tag-tag-conversion-using-only-part-of-the-info-in-the-source-field/68940/4 "2025-07-25T06:40:01Z")

</div>

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