# Switching first and last name of Artist

**URL:** https://community.mp3tag.de/t/switching-first-and-last-name-of-artist/11020
**Category:** Support
**Created:** [October 28, 2010, 4:57pm UTC](https://community.mp3tag.de/t/switching-first-and-last-name-of-artist/11020 "2010-10-28T16:57:38Z")
**Posts on this page:** 1
**Showing post:** 24

<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: [July 29, 2022, 4:48pm UTC](https://community.mp3tag.de/t/switching-first-and-last-name-of-artist/11020/24 "2022-07-29T16:48:59Z")

</div>

> [@Bullfrog](#):
>
> Fromatstring: `$regexp(%artist%,(.*)',' (.* ),$2 $1)`

Try  
Format string: `$regexp(%artist%,'(.*), (.*)',$2 $1)`

Take care of those artists that have the comma deliberately like Bell, Book & Candle, Earth, Wind & Fire, Emerson, Lake & Palmer etc.

---

_[View the full topic](https://community.mp3tag.de/t/switching-first-and-last-name-of-artist/11020)._
