# Renaming Tags

**URL:** <https://community.mp3tag.de/t/renaming-tags/17977>\
**Category:** Support\
**Created:** [May 24, 2016, 5:15pm UTC](https://community.mp3tag.de/t/renaming-tags/17977 "2016-05-24T17:15:55Z")\
**Posts on this page:** 4\
**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:** [May 24, 2016, 5:15pm UTC](https://community.mp3tag.de/t/renaming-tags/17977/1 "2016-05-24T17:15:55Z")

</div>

Hi  
I'm stumped. I need to be able to import and rename tags as follows:

Take the composers last name from the %composer% field formatted as Haydn, Joseph and append it to the %album% field thus: Haydn: String Quartets, Op. 50

Can anyone help 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:** [May 24, 2016, 5:35pm UTC](https://community.mp3tag.de/t/renaming-tags/17977/2 "2016-05-24T17:35:39Z")

</div>

Use as format string: `$regexp(%composer%,'(.*), .*',$1): %album%`

---

<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:** [May 27, 2016, 1:11pm UTC](https://community.mp3tag.de/t/renaming-tags/17977/3 "2016-05-27T13:11:47Z")

</div>

> [@ohrenkino](#):
>
> Use as format string: $regexp(%composer%,'(._), ._',$1): %album%

Thanks very much for your help. It's exactly what I was after and I'm rather happy that I wasn't being stupid. I would never have been able to derive that expression!

---

<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:26pm UTC](https://community.mp3tag.de/t/renaming-tags/17977/4 "2026-02-09T12:26:16Z")

</div>

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


