# How do I swap characters in a title field?

**URL:** https://community.mp3tag.de/t/how-do-i-swap-characters-in-a-title-field/8280
**Category:** General Discussion
**Created:** [April 23, 2009, 2:02am UTC](https://community.mp3tag.de/t/how-do-i-swap-characters-in-a-title-field/8280 "2009-04-23T02:02:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mdutch](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ecc23a/32.png) [@mdutch](https://community.mp3tag.de/u/mdutch)
#### Post date: [April 23, 2009, 2:02am UTC](https://community.mp3tag.de/t/how-do-i-swap-characters-in-a-title-field/8280/1 "2009-04-23T02:02:46Z")

</div>

I have many files where the format of the title is X - Y - Z, where X, Y, and Z are alphanumeric strings. I want to change the title to X - Z - Y.

Is this possible?

---

<div class="post-metadata">

### Author: ![newser](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/b9bd4f/32.png) [@newser](https://community.mp3tag.de/u/newser)
#### Post date: [April 23, 2009, 7:23am UTC](https://community.mp3tag.de/t/how-do-i-swap-characters-in-a-title-field/8280/2 "2009-04-23T07:23:42Z")

</div>

Try this:

New actiongroup

New action: replace with regular expression

Field:  
TITLE

Regular expression:  
(._) - (._) - (.\*)

Replace matches with:  
$1 - $3 - $2
