# Regex to export valid filenames

**URL:** https://community.mp3tag.de/t/regex-to-export-valid-filenames/4745
**Category:** Support
**Created:** [April 15, 2007, 3:02am UTC](https://community.mp3tag.de/t/regex-to-export-valid-filenames/4745 "2007-04-15T03:02:10Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![lbardh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/eb9ed0/32.png) [@lbardh](https://community.mp3tag.de/u/lbardh)
#### Post date: [April 15, 2007, 11:56am UTC](https://community.mp3tag.de/t/regex-to-export-valid-filenames/4745/3 "2007-04-15T11:56:45Z")

</div>

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%,-)

---

_[View the full topic](https://community.mp3tag.de/t/regex-to-export-valid-filenames/4745)._
