# Problems with special characters in tag -\> filename

**URL:** https://community.mp3tag.de/t/problems-with-special-characters-in-tag-filename/47775
**Category:** Support
**Created:** [February 4, 2020, 12:53pm UTC](https://community.mp3tag.de/t/problems-with-special-characters-in-tag-filename/47775 "2020-02-04T12:53:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![melonguru](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b5ac83/32.png) [@melonguru](https://community.mp3tag.de/u/melonguru)
#### Post date: [February 4, 2020, 12:53pm UTC](https://community.mp3tag.de/t/problems-with-special-characters-in-tag-filename/47775/1 "2020-02-04T12:53:10Z")

</div>

Hey there. Sometimes in a song there are characters like ":" or "/", which can't go in a file name. Is there a way to get these characters automatically replaced by "-" and "\_" for example? Now mp3 tag just inserts an extra space, which looks kinda weird sometimes. Thanks 🙂

---

<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: [February 4, 2020, 12:59pm UTC](https://community.mp3tag.de/t/problems-with-special-characters-in-tag-filename/47775/2 "2020-02-04T12:59:34Z")

</div>

see e.g. this thread:

> [@Regex to export valid filenames](https://community.mp3tag.de/t/regex-to-export-valid-filenames/4745/3):
>
> Thank a lot. That worked great. I must have overlooked the scripting page. I found what will eliminate all invalid characters is: $validate(%artist% - %album%,-)

---

<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:28pm UTC](https://community.mp3tag.de/t/problems-with-special-characters-in-tag-filename/47775/3 "2026-02-09T12:28:26Z")

</div>


