# Rearrange parts of a title tag

**URL:** <https://community.mp3tag.de/t/rearrange-parts-of-a-title-tag/60486>\
**Category:** Support\
**Created:** [March 25, 2023, 12:50pm UTC](https://community.mp3tag.de/t/rearrange-parts-of-a-title-tag/60486 "2023-03-25T12:50:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KoubanOrion](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/9dc877/32.png) [@KoubanOrion](https://community.mp3tag.de/u/KoubanOrion)\
**Post date:** [March 25, 2023, 12:50pm UTC](https://community.mp3tag.de/t/rearrange-parts-of-a-title-tag/60486/1 "2023-03-25T12:50:24Z")

</div>

Hello there,  
I've been using mp3tag for years and found it extremely useful for editing id3 tags to my liking and giving my filenames a uniform format, and here is a question I'm not sure has been asked before:  
I have an album where the TITLE field of every track is listed as "Part [number] - Blah", and I would like to change them so that they are listed as "Blah (Part [number])". I could do this manually, but there are over 40 tracks on this album and I'd like to save some tedium. I'm guessing this would involve use of the "guess value" feature, but I'm not sure how to write the function so it does what I want it to. Further complicating this is that the part numbers don't go straight from 1 through whatever, but skip numbers irregularly.  
Any advice on how to do this is appreciated!

---

<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:** [March 25, 2023, 2:04pm UTC](https://community.mp3tag.de/t/rearrange-parts-of-a-title-tag/60486/2 "2023-03-25T14:04:57Z")

</div>

try an action of the type "Replace with regular expression  
Search string: `(.*) - (.*)`  
Replace with: `$2 ($1)`

---

<div class="post-metadata">

**Author:** ![KoubanOrion](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/9dc877/32.png) [@KoubanOrion](https://community.mp3tag.de/u/KoubanOrion)\
**Post date:** [March 25, 2023, 4:03pm UTC](https://community.mp3tag.de/t/rearrange-parts-of-a-title-tag/60486/3 "2023-03-25T16:03:05Z")

</div>

That worked exactly like I was hoping for, thank you!

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [April 24, 2023, 4:03pm UTC](https://community.mp3tag.de/t/rearrange-parts-of-a-title-tag/60486/4 "2023-04-24T16:03:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
