# Track Filename Conversion

**URL:** https://community.mp3tag.de/t/track-filename-conversion/5004
**Category:** Support
**Created:** [June 12, 2007, 9:33pm UTC](https://community.mp3tag.de/t/track-filename-conversion/5004 "2007-06-12T21:33:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![KOTEKNIK](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/7993a0/32.png) [@KOTEKNIK](https://community.mp3tag.de/u/KOTEKNIK)
#### Post date: [June 12, 2007, 9:33pm UTC](https://community.mp3tag.de/t/track-filename-conversion/5004/1 "2007-06-12T21:33:59Z")

</div>

Hi

I've got a little problem with MP3TAG v2.38

I would like to have a track filename like: Artist - Title (Feat.**).mp3**  
Problem is that my track filename is like that: Artist - Title Feat."leading space".mp3 and without the () "Parenthèse??" aren't present at the beginning and at the end of the Featuring...ggrr ![:angry:](https://community.mp3tag.de/uploads/default/original/1X/ebadaff04ae073d3d1cb3e2f4c6acf132380e5a5.gif ":angry:")

After reading the FAQ and trying by myself i didn't succed yet...

There my "New Action":

Action type: **Replace with regular expressions**

Field: **\_FILENAME**

Regular expression: **^Feat.\s+$**  
  
Replace matches with: **(Feat.($1))**

And is there a FAQ that explain every % $ \s $num ,etc... signification step by step in order to do learn and do a personnalized script?

Thanks a lot for your help & sorry for my poor english i did my best 😉

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 13, 2007, 2:24pm UTC](https://community.mp3tag.de/t/track-filename-conversion/5004/2 "2007-06-13T14:24:46Z")

</div>

One solution could be:

Regular Expression: (Feat.)(.\*)(.mp3)  
Replace matches with: ($1$2)$3

I'm sure, this is not the best possible solution, but you can change it as you like. 😉

As always: Don't try it on your original mp3. Make some backup first. ![:ph34r:](https://community.mp3tag.de/uploads/default/original/1X/d9d21e0e122fbe04cbaaa509828a996924771538.gif ":ph34r:")

---

<div class="post-metadata">

### Author: ![KOTEKNIK](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/7993a0/32.png) [@KOTEKNIK](https://community.mp3tag.de/u/KOTEKNIK)
#### Post date: [June 13, 2007, 8:50pm UTC](https://community.mp3tag.de/t/track-filename-conversion/5004/3 "2007-06-13T20:50:44Z")

</div>

Thank you for your fast answer!

Regular Expression: (Feat.)(.\*)(.mp3)  
Replace matches with: ($1$2)$3

It works but it's a bit slow in mass rename because as the action change/replace the extension .mp3 by the same .mp3 on the filename, it seems that it's makes the operation more longer than a modification on tags only! But perhaps i'm wrong 😛

So i did that and the file file keep almost the .mp3 extension:

Regular Expression: (Feat.)(.+)[^mp3]  
Replace matches with: ($1$2).

But it strange because i was forced to keep the **dot** in the "replace matches line" because if not the action delete the last character or number **before**** \***.mp3 and don't include it in the parenthese

Do somebody help me to resolve this? ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

---

<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: [February 9, 2026, 12:20pm UTC](https://community.mp3tag.de/t/track-filename-conversion/5004/4 "2026-02-09T12:20:20Z")

</div>


