# Filename help

**URL:** https://community.mp3tag.de/t/filename-help/12633
**Category:** Support
**Created:** [October 26, 2011, 10:59pm UTC](https://community.mp3tag.de/t/filename-help/12633 "2011-10-26T22:59:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Vetinariuk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/34f0e0/32.png) [@Vetinariuk](https://community.mp3tag.de/u/Vetinariuk)
#### Post date: [October 26, 2011, 10:59pm UTC](https://community.mp3tag.de/t/filename-help/12633/1 "2011-10-26T22:59:53Z")

</div>

Newbie here, a litle confused too....

Basically, I am trying to bulk rename a load of mp3's  
The current name format is "YYYY.MMDD Title Text" - where Y= year M= Month & you guessed it, D= Day

I would like to rename the files with "-" between the Year, month and Day, leaving title text there too. For example "YYYY-MM-DD Title Text"

Could anyone help me with the action scripting please?

Many thanks

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [October 26, 2011, 11:17pm UTC](https://community.mp3tag.de/t/filename-help/12633/2 "2011-10-26T23:17:31Z")

</div>

> [@Vetinari](#):
>
> ... Basically, I am trying to bulk rename a load of mp3's  
> The current name format is "YYYY.MMDD Title Text" - where Y= year M= Month & you guessed it, D= Day  
> I would like to rename the files with "-" between the Year, month and Day, leaving title text there too. For example "YYYY-MM-DD Title Text" ...

Action: Format value  
Field: \_FILENAME  
Formatstring: **$regexp(%\_filename%,'^(\d\d\d\d).(\d\d)(\d\d)\s(.+)$','$1-$2-$3 $4')**

From:  
2011.1027 Title Text  
To:  
2011-10-27 Title Text

DD.20111027.0319.CEST

---

<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:23pm UTC](https://community.mp3tag.de/t/filename-help/12633/3 "2026-02-09T12:23:24Z")

</div>


