# Editing within a tag

**URL:** <https://community.mp3tag.de/t/editing-within-a-tag/17003>\
**Category:** Support\
**Created:** [June 28, 2015, 5:53pm UTC](https://community.mp3tag.de/t/editing-within-a-tag/17003 "2015-06-28T17:53:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Buntobox](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e480ec/32.png) [@Buntobox](https://community.mp3tag.de/u/Buntobox)\
**Post date:** [June 28, 2015, 5:53pm UTC](https://community.mp3tag.de/t/editing-within-a-tag/17003/1 "2015-06-28T17:53:06Z")

</div>

Hi  
I need to split a tag in the ALBUM field. e.g. "Anton Bruckner: Symphony No. 5 in B flat major" needs to become simply "Symphony No. 5 in B flat major". I also need to move the "Anton Bruckner" part of the tag to the COMPOSER field and have it become "Bruckner, Anton"

Any ideas please?

---

<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 28, 2015, 5:59pm UTC](https://community.mp3tag.de/t/editing-within-a-tag/17003/2 "2015-06-28T17:59:17Z")

</div>

If the separator between Composer and Album is always the : then use an action of the type  
"Guess values" (Import tag field) for ALBUM:  
Format string: %composer%: %album%

The swapping of the first and last name has to be done in a separate action and my general impression is: don't  
There are numerous cases where the swapping leads to strange results, esp. if you have more than one composer. So keeping the name just as it is avoids irritation.  
If you still insist:  
Replace with regular expression for COMPOSER:  
Search string: (_.) (_.)  
Replace string: $2, $1

---

<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:** [June 29, 2015, 5:36am UTC](https://community.mp3tag.de/t/editing-within-a-tag/17003/3 "2015-06-29T05:36:44Z")

</div>

> [@Buntobox](#):
>
> Hi I need to split a tag in the ALBUM field. e.g. "Anton Bruckner: Symphony No. 5 in B flat major" needs to become simply "Symphony No. 5 in B flat major". I also need to move the "Anton Bruckner" part of the tag to the COMPOSER field and have it become "Bruckner, Anton" Any ideas please?

Begin Action Group **Test2015#20150628.Buntobox** 

Action #1  
_Actiontype 7:_ **Import tag fields (guess values)**  
_Source format \_\_:_ **%ALBUM%**  
_Guessing pattern:_ **%COMPOSER%: %ALBUM%**

 

Action #2  
_Actiontype 4:_ **Replace with regular expression**  
_Field \_\_\_\_\_\_\_\_\_\_\_\_\_\_:_ **COMPOSER**  
_Regular expression \_:_ **^(.+) (.+)$**  
_Replace matches with:_ **$2, $1**

 [\_] Case sensitive comparison 

End Action Group **Test2015#20150628.Buntobox** (2 Actions)

 

DD.20150629.0936.CEST

---

<div class="post-metadata">

**Author:** ![Buntobox](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e480ec/32.png) [@Buntobox](https://community.mp3tag.de/u/Buntobox)\
**Post date:** [June 29, 2015, 6:29am UTC](https://community.mp3tag.de/t/editing-within-a-tag/17003/4 "2015-06-29T06:29:35Z")

</div>

> [@DetlevD](#):
>
> Begin Action Group **Test2015#20150628.Buntobox** 
> 
> Action #1  
> _Actiontype 7:_ **Import tag fields (guess values)**  
> _Source format \_\_:_ **%ALBUM%**  
> _Guessing pattern:_ **%COMPOSER%: %ALBUM%**
> 
>  
> 
> Action #2  
> _Actiontype 4:_ **Replace with regular expression**  
> _Field \_\_\_\_\_\_\_\_\_\_\_\_\_\_:_ **COMPOSER**  
> _Regular expression \_:_ **^(.+) (.+)$**  
> _Replace matches with:_ **$2, $1**
> 
> [\_] Case sensitive comparison 
> 
> End Action Group **Test2015#20150628.Buntobox** (2 Actions)
> 
>  
> 
> DD.20150629.0936.CEST

Terrific! Thanks very much for your help!

---

<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:25pm UTC](https://community.mp3tag.de/t/editing-within-a-tag/17003/5 "2026-02-09T12:25:44Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


