# How to rearrange artist name

**URL:** https://community.mp3tag.de/t/how-to-rearrange-artist-name/13887
**Category:** General Discussion
**Created:** [September 16, 2012, 9:17pm UTC](https://community.mp3tag.de/t/how-to-rearrange-artist-name/13887 "2012-09-16T21:17:23Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![dj.farrell](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/3ab097/32.png) [@dj.farrell](https://community.mp3tag.de/u/dj.farrell)
#### Post date: [September 16, 2012, 9:17pm UTC](https://community.mp3tag.de/t/how-to-rearrange-artist-name/13887/1 "2012-09-16T21:17:23Z")

</div>

I have a Karaoke Library with 20,000 songs that I'm cleaning up.  
Examples of the way the majority of the songs are formatted:

```
Jackson, Alan - Don't Rock the Jukebox 
Down, 3 Doors - Be like that

```

I need to clean up the rest of the songs to the same format.

```
 How can I write a script that will change: Allman Brothers Band - Ramblin' Man to the same format. In this example it would be changed to: Band, Allman Brothers - Ramblin' Man.

```

![:huh:](https://community.mp3tag.de/uploads/default/original/1X/f15ee73c0fd9ec3b0db7481f0558638f8ee224ce.gif ":huh:") I need to take last string of characters in the Artist category and make it first followed by a comma. Sometimes there are Numbers in the title.

dj.farrell

---

_[View the full topic](https://community.mp3tag.de/t/how-to-rearrange-artist-name/13887)._
