# Making multiple words into one TAG (Filename-Tag)

**URL:** https://community.mp3tag.de/t/making-multiple-words-into-one-tag-filename-tag/3347
**Category:** Support
**Created:** [May 23, 2006, 5:11am UTC](https://community.mp3tag.de/t/making-multiple-words-into-one-tag-filename-tag/3347 "2006-05-23T05:11:19Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [May 24, 2006, 6:44am UTC](https://community.mp3tag.de/t/making-multiple-words-into-one-tag-filename-tag/3347/6 "2006-05-24T06:44:18Z")

</div>

I'll give you an easier approach:

It's easier to rename the filename first a little bit so you have a clear seperation between title and track-/discnumber  
So this 2 actions will just insert a hyphen so you can use the convert tool without problems

**Ken Follett-Lie Down With Lions 01 of 20.mp3**  
becomes  
**Ken Follett-Lie Down With Lions-01 of 20.mp3**  
Convert format string

%artist%-%title%-%track% of %discnumber%

**Tom Clancy - Eaters of the Dead D03\_01.mp3**  
becomes  
**Tom Clancy - Eaters of the Dead-D03\_01.mp3**  
Convert format string

%artist% - %title%-D%discnumber%\_%track%

Action #1:  
_Action type:_ **Replace with regular expressions**  
_Field:_ **\_FILENAME**  
_Regular expression:_ **\s+(\d\d\s+of\s+\d\d.mp3)$**  
_Replace matches with:_ **-$1**

[] case-sensitive comparison

Action #2:  
_Action type:_ **Replace with regular expressions**  
_Field:_ **_FILENAME_**  
_Regular expression:_ **\s+(D\d\d\d\d.mp3)$**  
_Replace matches with:_ **-$1**

[] case-sensitive comparison

You can also download the actions to save the typing. The action includes **everything** , not only the file renaming.  
The .bat file will open the right folder where you need to put the .mta file.

BTW there's a tool from Sebastian to show the actions as we did:  
[/t/2584/1](https://community.mp3tag.de/t/2584/1)

[kcnew.zip](https://community.mp3tag.de/uploads/default/original/2X/a/a3078869c8f7e670b06c55c7af1ac93d14cd81f8.zip) (447 Bytes)

---

_[View the full topic](https://community.mp3tag.de/t/making-multiple-words-into-one-tag-filename-tag/3347)._
