# Swap last name first name

**URL:** https://community.mp3tag.de/t/swap-last-name-first-name/7661
**Category:** General Discussion
**Created:** [December 28, 2008, 7:10pm UTC](https://community.mp3tag.de/t/swap-last-name-first-name/7661 "2008-12-28T19:10:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bzb416](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@bzb416](https://community.mp3tag.de/u/bzb416)
#### Post date: [December 28, 2008, 7:10pm UTC](https://community.mp3tag.de/t/swap-last-name-first-name/7661/1 "2008-12-28T19:10:06Z")

</div>

Hi,

I want to change this

1. Corfu My Love (R. Benatar, Kolenberg).mp3 to Corfu My Love - Kolengerg R. Benatar.

Can someone help me this? I have tried to use the "Firstname Lastname to ARTISTSORT-Lastname, Firstname" Action that I downloaded, but I think because of the ( ), it did not work. Thanks

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [December 30, 2008, 7:39am UTC](https://community.mp3tag.de/t/swap-last-name-first-name/7661/2 "2008-12-30T07:39:31Z")

</div>

Does this help:

_Name of action group:_ **Swap**

_Action type:_ **Replace with regular expression**  
_Field:_ **\_FILENAME**  
_Regular expression:_ **`(.*)\((.*), (.*)\)`**  
_Replace matches with:_ **`$1 - $3 $2`**

[] case-sensitive comparison
