# Change file name

**URL:** <https://community.mp3tag.de/t/change-file-name/15773>\
**Category:** Support\
**Created:** [May 31, 2014, 10:50am UTC](https://community.mp3tag.de/t/change-file-name/15773 "2014-05-31T10:50:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nchuijg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/f08c70/32.png) [@nchuijg](https://community.mp3tag.de/u/nchuijg)\
**Post date:** [May 31, 2014, 10:50am UTC](https://community.mp3tag.de/t/change-file-name/15773/1 "2014-05-31T10:50:24Z")

</div>

I have more then 13000 audio files, for a playout program, they use at the end ~ and then like 2.45 that's the time in seconds from the real end of the file to start the next file.  
Now a want to use a new playout program that's run by a database, so the information is not necessary, how can MP3TAG this doing that for me.  
The problem is that after ~ the chars are variant at the most like 15.36 or les 2.3, all the information including ~ has to be removed.

Has someone an solution?

Thank in advange, Nico.

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [May 31, 2014, 11:22am UTC](https://community.mp3tag.de/t/change-file-name/15773/2 "2014-05-31T11:22:38Z")

</div>

Use this:  
_Name of action group:_ **\_Script Test#TEST**

_Action type:_ **Replace with regular expression**  
_Field:_ **\_FILENAME**  
_Regular expression:_ **\s\*~\s+[\d.]{1,8}(.mp3)$**  
_Replace matches with:_ **$1**

[] case-sensitive comparison

---

<div class="post-metadata">

**Author:** ![nchuijg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/f08c70/32.png) [@nchuijg](https://community.mp3tag.de/u/nchuijg)\
**Post date:** [May 31, 2014, 6:00pm UTC](https://community.mp3tag.de/t/change-file-name/15773/3 "2014-05-31T18:00:05Z")

</div>

Stevehero,

Do i something wrong? nothing happend. See attachments

Nico.

 ![](https://community.mp3tag.de/uploads/default/original/2X/c/ce49cd1751127b9747a78ccca9ba1f61b3763313.png)  

 ![](https://community.mp3tag.de/uploads/default/original/2X/9/9d07bb8f5ca2206e388ab210f5ba2e6c5bedb54e.png)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 31, 2014, 6:25pm UTC](https://community.mp3tag.de/t/change-file-name/15773/4 "2014-05-31T18:25:13Z")

</div>

> [@nchuijg](#):
>
> Stevehero,
> 
> Do i something wrong? nothing happend. See attachments
> 
> Nico.

This is the problem of descriptions instead of examples.

Instead of  
\s\*~\s+[\d.]{1,8}(.mp3)$  
try  
~[\d.]{1,8}(.mp3)$

---

<div class="post-metadata">

**Author:** ![nchuijg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/f08c70/32.png) [@nchuijg](https://community.mp3tag.de/u/nchuijg)\
**Post date:** [May 31, 2014, 6:37pm UTC](https://community.mp3tag.de/t/change-file-name/15773/5 "2014-05-31T18:37:11Z")

</div>

> [@ohrenkino](#):
>
> This is the problem of descriptions instead of examples.
> 
> Instead of  
> \s\*~\s+[\d.]{1,8}(.mp3)$  
> try  
> ~[\d.]{1,8}(.mp3)$

ohrenkino,

This do the job, thank you so much.

Greetings Nico.

 ![](https://community.mp3tag.de/uploads/default/original/2X/b/b03d840c1ec28ea7949ad63f5a4a0dcf2ade411e.png)

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [June 1, 2014, 12:26am UTC](https://community.mp3tag.de/t/change-file-name/15773/6 "2014-06-01T00:26:51Z")

</div>

> [@nchuijg](#):
>
> Stevehero,
> 
> Do i something wrong? nothing happend. See attachments
> 
> Nico.

Was unclear what pattern you had in the first post.

---

<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:25pm UTC](https://community.mp3tag.de/t/change-file-name/15773/7 "2026-02-09T12:25:04Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


