in reply to regular Expression
You need double brackets.
/[^[:ascii:]]/g [download]
/[[:^ascii:]]/g [download]
(Update: check perlre)