/ Published in: PHP

$asciiData = preg_replace( '/[\x7f-\xff]/', '', $dirtyData );
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
http://php.net/manual/en/function.preg-replace.php
Comments
