# Replace illegal WIndows characters

**URL:** https://community.mp3tag.de/t/replace-illegal-windows-characters/10362
**Category:** Support
**Created:** [April 27, 2010, 6:18pm UTC](https://community.mp3tag.de/t/replace-illegal-windows-characters/10362 "2010-04-27T18:18:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wallagh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@wallagh](https://community.mp3tag.de/u/wallagh)
#### Post date: [April 27, 2010, 6:18pm UTC](https://community.mp3tag.de/t/replace-illegal-windows-characters/10362/1 "2010-04-27T18:18:11Z")

</div>

Hallo,

I have bene playing around with regular expressions, and browsing, but can't seem to get this working:

I wnat to remove ALL illega characters form all TAGS, filename etc that are present in my music collection.  
The illegal characters are: / ? \< \> \ : \* | ” '

I wnat to replace them with \_ (an underscore)

Te reason: my music colelction has been build up on a LInux based (embedded) system, and I want to port it to WIndows. But that menas that TAGS/filenames with teh illega characters need to be changed.  
(Yes, I need to change the TAGS to, as my Music Syteme, Hifidelio, uses them to automatically generate filenmaes an ddirectories.....).

Can anybod help? pls....

---

<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/replace-illegal-windows-characters/10362/2 "2026-02-09T12:22:21Z")

</div>


