# How to add a dot after each letter

**URL:** <https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541>\
**Category:** Support\
**Created:** [September 27, 2021, 6:14pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541 "2021-09-27T18:14:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mervinj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@Mervinj](https://community.mp3tag.de/u/Mervinj)\
**Post date:** [September 27, 2021, 6:14pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/1 "2021-09-27T18:14:43Z")

</div>

Hi everyone just wondering if some one can help me with this. I'd like to add dots to the title or artist fields of some songs. So for e.g if it was SONG, I'd like it to be S.O.N.G. Also if possible if its lower case like song then it I'd like it to be S.O.N.G. Thanks in advance for any help.

---

<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:** [September 27, 2021, 6:17pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/2 "2021-09-27T18:17:23Z")

</div>

Try an action of the type "Format value" or Converter\>Tag-Tag for the target field  
Format string: `$regexp(SONG,(.),$1.)`

Instead of song enter the field variable.

---

<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:** [September 27, 2021, 6:27pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/3 "2021-09-27T18:27:32Z")

</div>

> [@Mervinj](#):
>
> Also if possible if its lower case like song then it I'd like it to be S.O.N.G.

If you want to add a dot after each letter (but not after special signs like a comma or # or numbers), then you could use  
`$upper($regexp(%TITLE%,'([a-zA-Z]{1})',$1.))`

![image](https://community.mp3tag.de/uploads/default/original/2X/2/28f5d33b6f08d4319a31d0bb184c7324db62c719.png)

This would add a dot after every single letter from a to z and A to Z.  
All the letters would be changed to UPPERCASE.

You can [test it here](https://regex101.com/r/TF1kD2/1) with your real use cases.

---

<div class="post-metadata">

**Author:** ![Mervinj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@Mervinj](https://community.mp3tag.de/u/Mervinj)\
**Post date:** [September 27, 2021, 6:38pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/4 "2021-09-27T18:38:12Z")

</div>

Thanks for that. Only thing is that it adds a dot after the last letter. Anyway to prevent this?

---

<div class="post-metadata">

**Author:** ![Mervinj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@Mervinj](https://community.mp3tag.de/u/Mervinj)\
**Post date:** [September 27, 2021, 6:39pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/5 "2021-09-27T18:39:11Z")

</div>

Great. It adds a dot after the last letter. Anyway to get rid of it? Thnx

---

<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:** [September 27, 2021, 6:43pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/6 "2021-09-27T18:43:04Z")

</div>

Which solution do you prefer: The one for ALL characters or the one for letters only?

---

<div class="post-metadata">

**Author:** ![Mervinj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@Mervinj](https://community.mp3tag.de/u/Mervinj)\
**Post date:** [September 27, 2021, 6:48pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/7 "2021-09-27T18:48:06Z")

</div>

The one for letters should do. Thnx

---

<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:** [September 27, 2021, 6:53pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/8 "2021-09-27T18:53:31Z")

</div>

The format string matching every single character - except the very last one - in the tag %TITLE%, adding a dot to it and write it in UPPERCASE:

`$upper($regexp(%TITLE%,((.)(?!$)),$1.))`

[Test it here.](https://regex101.com/r/ucawDz/1)

---

<div class="post-metadata">

**Author:** ![Mervinj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@Mervinj](https://community.mp3tag.de/u/Mervinj)\
**Post date:** [September 27, 2021, 6:58pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/9 "2021-09-27T18:58:04Z")

</div>

It works 👏. I appreciate u bro. Thanks for taking time out to help. 🙂

---

<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:** [October 27, 2021, 6:58pm UTC](https://community.mp3tag.de/t/how-to-add-a-dot-after-each-letter/54541/10 "2021-10-27T18:58:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
