# Automating Changes to Artist Values

**URL:** https://community.mp3tag.de/t/automating-changes-to-artist-values/13595
**Category:** Support
**Created:** [June 29, 2012, 2:50pm UTC](https://community.mp3tag.de/t/automating-changes-to-artist-values/13595 "2012-06-29T14:50:07Z")
**Posts on this page:** 1
**Showing post:** 2

<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, 2012, 2:56pm UTC](https://community.mp3tag.de/t/automating-changes-to-artist-values/13595/2 "2012-06-29T14:56:58Z")

</div>

> [@bluewammer](#):
>
> ... 'First name, Last Name' and I want to change all of these so that. for example, 'John Coltrane' becomes 'Coltrane, John'.

Read there ...  
[Regular Expressions](https://community.mp3tag.de/t/521/27)  
[Regular Expressions](https://community.mp3tag.de/t/521/15)  
[Multiple value artist tag to multiple value artistsort](https://community.mp3tag.de/t/12599/1)  
[Need help with regex for ARTISTSORT](https://community.mp3tag.de/t/12653/1)

Action: Format value  
Field: ARTIST  
Format string: **$regexp(%ARTIST%,'([^;]+)(\s[^;]+)','$2, $1')**

From:  
"Rolling Stones"  
To:  
" Stones, Rolling"

From:  
"John Lewis;Mick Jagger;Ringo Harrison"  
To:  
" Lewis, John; Jagger, Mick; Harrison, Ringo"

DD.20120629.1914.CEST

---

_[View the full topic](https://community.mp3tag.de/t/automating-changes-to-artist-values/13595)._
