Can anybody come up with a grep search string to locate chars over ASCII-127? I'd like to search and destroy high-bit characters typed in by users, and i dont know enough about regex to do this.
preg_replace("[\x80-\xff]","",$string);
\x80-\xff is of course the range ASCII 128 - ASCII 255
that's it exactly! thank you so much!