/ Published in: PHP
$asciiData = preg_replace( '/[\x7f-\xff]/', '', $dirtyData );
Expand |
Embed | Plain Text
http://php.net/manual/en/function.preg-replace.php
You need to login to post a comment.
$asciiData = preg_replace( '/[\x7f-\xff]/', '', $dirtyData );
http://php.net/manual/en/function.preg-replace.php
You need to login to post a comment.