# Renaming file question...

**URL:** https://community.mp3tag.de/t/renaming-file-question/4703
**Category:** Support
**Created:** [April 4, 2007, 2:13pm UTC](https://community.mp3tag.de/t/renaming-file-question/4703 "2007-04-04T14:13:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![darkmanx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e19b73/32.png) [@darkmanx](https://community.mp3tag.de/u/darkmanx)
#### Post date: [April 4, 2007, 2:13pm UTC](https://community.mp3tag.de/t/renaming-file-question/4703/1 "2007-04-04T14:13:00Z")

</div>

Well, this program is pretty amazing in general. It seems to find all the album covers...well, most of them besides the ghetto dirty south music. Anyways, when I rename my files by clicking the tag - filename button, is there anyway to get it to put the "featuring" + guest artist after the original artist.

Like, say the artist is Jay-Z and the title is Hollywood featuring Beyonce, based on the tags it renames the file:

Jay-Z - Hollywood featuring Beyonce

...but I want it to name it:

Jay-Z featuring Beyonce - Hollywood

...See the small difference, I understand the underlying anal tone to this, but if it's not possible, it's all good cause I'm not going through 10,000 mp3's to do it. If someone has a script or someway to make this work it would be amazing.

Thanks again..

---

<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: [April 4, 2007, 5:23pm UTC](https://community.mp3tag.de/t/renaming-file-question/4703/2 "2007-04-04T17:23:38Z")

</div>

%artist% $mid(%title%,$strstr(%title%,featuring),$len(%title%)) - $mid(%title%,1,$sub($strstr(%title%,featuring),2))

I am sure you can do it with a RegExp, but it's too late for me. 😛

Edit: It works only for files that really have "featuring" in their title. I will think of a new formatstring which should work with all cases...

---

<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: [April 4, 2007, 5:52pm UTC](https://community.mp3tag.de/t/renaming-file-question/4703/3 "2007-04-04T17:52:50Z")

</div>

OK, this is ugly, but it seems to work - unless until dano or someone else comes up with a pure RegExp solution:

%artist%$ifgreater($strstr(%title%,featuring),0, $mid(%title%,$strstr(%title%,featuring),$len(%title%)),) - $regexp(%title%,(\s_featuring ._),)

My RegExp only attempts failed at the part "if title contains 'featuring' show only that, if not, don't show anything" in order to make something like

%artist% \<part that I can't do\> - $regexp(%title%,(\s_featuring ._),)

---

<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/renaming-file-question/4703/4 "2026-02-09T12:20:14Z")

</div>


