# Auto Adding a Space After a Period

**URL:** https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367
**Category:** Support
**Created:** [August 29, 2007, 5:06am UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367 "2007-08-29T05:06:39Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [August 29, 2007, 5:06am UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/1 "2007-08-29T05:06:39Z")

</div>

Hi all wondering if someone knew how to have mp3tag always make sure there is a space after a period.

For example:  
Jowell Y Randy - 15. Rastrillea (Ft.Los Leones) (Official Remix).mp3

Changes to this:  
Jowell Y Randy - 15. Rastrillea (Ft. Los Leones) (Official Remix).mp3

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [August 29, 2007, 10:17am UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/2 "2007-08-29T10:17:35Z")

</div>

Please ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:") [Aktionen](https://community.mp3tag.de/t/596/1)

If you can't translate it to english, just let us know...

---

<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: [August 29, 2007, 11:00am UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/3 "2007-08-29T11:00:20Z")

</div>

FAQ is also available in English...  
[Actions](https://community.mp3tag.de/t/967/1)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [August 29, 2007, 1:21pm UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/4 "2007-08-29T13:21:57Z")

</div>

Danke, dano!  
Ich hab die noch gesucht, aber leider auch mit Sprachwahl "englisch" landet man bei klick auf FAQ (links von Hilfe) auf die deutsche FAQ. 🕶

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [August 30, 2007, 7:38pm UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/5 "2007-08-30T19:38:33Z")

</div>

Faq doesn't really get into how to automatically have a space added after a period. Are both faq's the same?

---

<div class="post-metadata">

### Author: ![Mizery\_Made](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Mizery\_Made](https://community.mp3tag.de/u/Mizery_Made)
#### Post date: [August 30, 2007, 8:13pm UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/6 "2007-08-30T20:13:39Z")

</div>

Maybe an action like this:

**Replace with regular expression**  
**Regular expression:**.([^\s+])  
**Replace matches with:**. $1

You can try it, I'm not exactly an expert with the actions and/or RegEx though, so I would thoroughly test it before running it on a large amount of files.

---

<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: [August 30, 2007, 8:37pm UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/7 "2007-08-30T20:37:58Z")

</div>

Yes FAQ doesn't help because a simple replace doesn't work.  
The RegEx of Mizery\_Made is also not good if you apply it to a filename because it also adds a space before the extension. (And why the + sign?)

Edit. Ok we just put the RegEx in a different action:

_Action type:_ **Format value**  
_Field:_ **\_FILENAME**  
_Formatstring:_ **$regexp(%\_filename%,'.([^\s])',. $1)**

---

<div class="post-metadata">

### Author: ![Mizery\_Made](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Mizery\_Made](https://community.mp3tag.de/u/Mizery_Made)
#### Post date: [August 31, 2007, 2:18am UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/8 "2007-08-31T02:18:37Z")

</div>

Right you are Dano :\

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [September 2, 2007, 5:14am UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/9 "2007-09-02T05:14:45Z")

</div>

Wow thanks guys! That was REALLY complex don't think I could have figured that out at all.

Thanks both Dano and Mizery\_Made for your efforts 🙂

---

<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:20pm UTC](https://community.mp3tag.de/t/auto-adding-a-space-after-a-period/5367/10 "2026-02-09T12:20:28Z")

</div>


