# How to replace double dots in Filename(.Extension)

**URL:** <https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309>\
**Category:** Support\
**Created:** [November 9, 2014, 3:10pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309 "2014-11-09T15:10:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![armin01](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@armin01](https://community.mp3tag.de/u/armin01)\
**Post date:** [November 9, 2014, 3:10pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/1 "2014-11-09T15:10:14Z")

</div>

case: complete filename= 12..34..test..mp3

In the above case i want to separate the **last** two dots by a space character. Without changing the %title% field (= 12..34..test.)

desired operation per single action would be:

filename.extension= 12..34..test..mp3 -\> 12 **..** 34 **..** test **. .** mp3

i cant get this one to work...

any tips?

---

<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:** [November 9, 2014, 3:33pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/2 "2014-11-09T15:33:59Z")

</div>

What about an action of the type Replace for \_FILENAME\_EXT  
Search string: ..mp3  
Replace string: . .mp3')

---

<div class="post-metadata">

**Author:** ![Blimey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@Blimey](https://community.mp3tag.de/u/Blimey)\
**Post date:** [November 9, 2014, 3:35pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/3 "2014-11-09T15:35:40Z")

</div>

Hi,

If I understood your question correctly, this should give the wanted result.  
It works in 2.56a.

```
%title%

```

(add a single whitespace character at the end of the string!)

Cheers,  
Blimey

---

<div class="post-metadata">

**Author:** ![armin01](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@armin01](https://community.mp3tag.de/u/armin01)\
**Post date:** [November 9, 2014, 3:42pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/4 "2014-11-09T15:42:44Z")

</div>

> [@ohrenkino](#):
>
> What about an action of the type Replace for \_FILENAME\_EXT  
> Search string: ..mp3  
> Replace string: . .mp3')

tried that already as single action and quick action, doesnt work ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")

---

<div class="post-metadata">

**Author:** ![armin01](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@armin01](https://community.mp3tag.de/u/armin01)\
**Post date:** [November 9, 2014, 3:46pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/5 "2014-11-09T15:46:07Z")

</div>

> [@Blimey](#):
>
> %title%  
> (add a single whitespace character at the end of the string!)

> [@armin01](#):
>
> Without changing the %title% field (= 12..34..test.)

---

<div class="post-metadata">

**Author:** ![Blimey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@Blimey](https://community.mp3tag.de/u/Blimey)\
**Post date:** [November 9, 2014, 4:02pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/6 "2014-11-09T16:02:23Z")

</div>

It doesn't change the %title% value.

---

<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:** [July 13, 2015, 3:30pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/7 "2015-07-13T15:30:25Z")

</div>

> [@armin01](#):
>
> ... desired operation per single action would be:  
> filename.extension= 12..34..test..mp3 -\> 12 **..** 34 **..** test **. .** mp3

**From: 12..34..test..mp3 To : 12..34..test. .mp3 Convert "Tag - Tag" ... or ... Action "Format value" Field: \_FILENAME Formatstring: $replace(%\_filename\_ext%,'.'%\_extension%,' .'%\_extension%)**

DD.20150713.1930.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:25pm UTC](https://community.mp3tag.de/t/how-to-replace-double-dots-in-filename-extension/16309/8 "2026-02-09T12:25:21Z")

</div>

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


