# "Tag - Filename" character replacement

**URL:** https://community.mp3tag.de/t/tag-filename-character-replacement/11132
**Category:** Support
**Created:** [November 17, 2010, 5:38am UTC](https://community.mp3tag.de/t/tag-filename-character-replacement/11132 "2010-11-17T05:38:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mikael](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@Mikael](https://community.mp3tag.de/u/Mikael)
#### Post date: [November 17, 2010, 5:38am UTC](https://community.mp3tag.de/t/tag-filename-character-replacement/11132/1 "2010-11-17T05:38:42Z")

</div>

As default characters not compatible with file names in Windows are converted to nothing (the character is deleted from the filename). I'd like to replace them (/:\*?) with an underscore (\_) instead. Is this possible using $replace, or how do i do it?

---

<div class="post-metadata">

### Author: ![mjcm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mjcm](https://community.mp3tag.de/u/mjcm)
#### Post date: [November 17, 2010, 6:25am UTC](https://community.mp3tag.de/t/tag-filename-character-replacement/11132/2 "2010-11-17T06:25:51Z")

</div>

Use $validate.

see here

[How Do I replace ? and / with \_](https://community.mp3tag.de/t/11106/2)

---

<div class="post-metadata">

### Author: ![Mikael](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@Mikael](https://community.mp3tag.de/u/Mikael)
#### Post date: [November 17, 2010, 6:53am UTC](https://community.mp3tag.de/t/tag-filename-character-replacement/11132/3 "2010-11-17T06:53:01Z")

</div>

Seems my search fu wasn't up to the test... Thank you!

---

<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:22pm UTC](https://community.mp3tag.de/t/tag-filename-character-replacement/11132/4 "2026-02-09T12:22:41Z")

</div>


