If you use locales; it supports special chars too.
In reply to Re: leaving only [a-zA-Z0-9] by neniro in thread leaving only [a-zA-Z0-9] by TriggerDunpoe