# Regular expression to filter path names with diacritics

**URL:** https://community.mp3tag.de/t/regular-expression-to-filter-path-names-with-diacritics/12909
**Category:** Support
**Created:** [January 8, 2012, 9:13pm UTC](https://community.mp3tag.de/t/regular-expression-to-filter-path-names-with-diacritics/12909 "2012-01-08T21:13:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dpotts](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a183cd/32.png) [@dpotts](https://community.mp3tag.de/u/dpotts)
#### Post date: [January 8, 2012, 9:13pm UTC](https://community.mp3tag.de/t/regular-expression-to-filter-path-names-with-diacritics/12909/1 "2012-01-08T21:13:03Z")

</div>

Some software (in my case I'm thinking of MusicIP) cannot handle file and path names that contain diacritical marks (accents, umlauts, etc.: e.g., é, â, ü, ñ). But you may already have a lot of such paths in your music folders. Here is a filter that will find all these files:

`NOT %_path% MATCHES ^[a-zA-Z0-9\W_]*$`

---

<div class="post-metadata">

### Author: ![Patch](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patch/32/9350_2.png) [@Patch](https://community.mp3tag.de/u/Patch)
#### Post date: [June 2, 2019, 6:33pm UTC](https://community.mp3tag.de/t/regular-expression-to-filter-path-names-with-diacritics/12909/2 "2019-06-02T18:33:06Z")

</div>

Can anyone show me a filter like this that works?

This one is dated 2012 - and does not.

---

<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: [June 2, 2019, 6:41pm UTC](https://community.mp3tag.de/t/regular-expression-to-filter-path-names-with-diacritics/12909/3 "2019-06-02T18:41:28Z")

</div>

You could try `%_path%` instead of `%path%`

---

<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:23pm UTC](https://community.mp3tag.de/t/regular-expression-to-filter-path-names-with-diacritics/12909/4 "2026-02-09T12:23:33Z")

</div>


