# Regular Expressions

**URL:** https://community.mp3tag.de/t/regular-expressions/521
**Category:** Howto
**Created:** [October 16, 2003, 4:47pm UTC](https://community.mp3tag.de/t/regular-expressions/521 "2003-10-16T16:47:29Z")
**Posts on this page:** 1
**Showing post:** 23

<div class="post-metadata">

### Author: ![Proteus\_3k](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@Proteus\_3k](https://community.mp3tag.de/u/Proteus_3k)
#### Post date: [March 14, 2009, 12:59pm UTC](https://community.mp3tag.de/t/regular-expressions/521/23 "2009-03-14T12:59:37Z")

</div>

> [@Fan o blues](#):
>
> It's taken me far too long to figure it out but I've finally got it working.
> 
> To change Horne, Lena to Lena Horne or  
> Hawkins, Coleman With Manny Albam & His Orchestra to Coleman Hawkins With Manny Albam & His Orchestra  
> Field: ARTIST  
> Regular Expression: **^([\w]+),\s([\w]+)**
> 
> Replace Matches with: **$2 $1**
> 
> I hope I didn't miss the answer in here somewhere. If there's an easier or better way please feel free to help.

I've just spent a while figuring this out myself, and came on here to post it only to find someone else already has 🙂  
Mine is quite similar  
Filed: ARTIST  
RegExp: ^(.+),\s+(\w\*)  
Replace With: $2 $1

Seems to work the same

---

_[View the full topic](https://community.mp3tag.de/t/regular-expressions/521)._
