# Batch formatting tags and filenames

**URL:** https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238
**Category:** Support
**Created:** [August 21, 2004, 4:29am UTC](https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238 "2004-08-21T04:29:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![zerox](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/e480ec/32.png) [@zerox](https://community.mp3tag.de/u/zerox)
#### Post date: [August 21, 2004, 4:29am UTC](https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238/1 "2004-08-21T04:29:22Z")

</div>

Hi, This program rocks!!

I have file name 03-artist-title-whatever.mp3  
I would like to remove whatever part from the file name. The whatever part is included in the title tag field.

Plus, I would like to remove all the tags that I don't need including some pics and lyrics. yet, I'd like to keep artist, title, etc...

Then, having the output of files as,  
artist - title.mp3  
at one action, using action function.

Is this possible. I, personally, couldn't figure out how. I really appriciate your help, experts!!

---

<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: [August 21, 2004, 5:45am UTC](https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238/2 "2004-08-21T05:45:11Z")

</div>

Hello!

> [@](#):
>
> Plus, I would like to remove all the tags that I don't need including some pics and lyrics. yet, I'd like to keep artist, title, etc...

You can select the files you want to edit and change the field values of the fields you don't want to keep to _\< blank \>_. Additionally, hitting [ALT+T] will pop up a window containing more tag fields. Again, tell MP3Tag to delete the fields you don't want to keep.

> [@](#):
>
> Then, having the output of files as,  
> artist - title.mp3  
> at one action, using action function.

You can use the _Tag - Filename_ wizard for that. Hit [ALT+1] and type in _artist% - %title%_.

Regards,  
Sebastian

---

<div class="post-metadata">

### Author: ![zerox](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/e480ec/32.png) [@zerox](https://community.mp3tag.de/u/zerox)
#### Post date: [August 21, 2004, 10:33am UTC](https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238/3 "2004-08-21T10:33:00Z")

</div>

Thanks to your reply, Sebastian Mares.

Maybe, I did not explain well. in my title field, there is...,  
title of the song - mp3s  
eg.) It's My Life - mp3s  
I would like to get rid of all \<-mp3s\> from the title.  
Yes, I know how to do it manually. I have tonz of files in that way. So that, it is painful for me to do manually.

Also, Would it be possible to delete some fields such as comments, by using some scripting?

---

<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: [August 21, 2004, 3:03pm UTC](https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238/4 "2004-08-21T15:03:32Z")

</div>

Hi!

> [@](#):
>
> Maybe, I did not explain well. in my title field, there is...,  
> title of the song - mp3s  
> eg.) It's My Life - mp3s  
> I would like to get rid of all \<-mp3s\> from the title.  
> Yes, I know how to do it manually. I have tonz of files in that way. So that, it is painful for me to do manually.

You can create a new action which should replace the file name with a regular expression. Use...

```
(.*) - (.*)\.(.*)

```

...as regular expression and...

```
$1.$3

```

...as replace string.

> [@](#):
>
> Also, Would it be possible to delete some fields such as comments, by using some scripting?

Please see my post above on how to blank tag fields.

Regards,  
Sebastian

---

<div class="post-metadata">

### Author: ![zerox](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/e480ec/32.png) [@zerox](https://community.mp3tag.de/u/zerox)
#### Post date: [August 22, 2004, 4:52am UTC](https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238/5 "2004-08-22T04:52:53Z")

</div>

Thanks a lot!!  
Now, everything is working!!

---

<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:19pm UTC](https://community.mp3tag.de/t/batch-formatting-tags-and-filenames/1238/6 "2026-02-09T12:19:14Z")

</div>


