Return to Snippet

Revision: 56940
at April 26, 2012 00:17 by jgomez


Initial Code
http://php.net/manual/en/function.preg-replace.php

Initial URL

                                

Initial Description
$asciiData = preg_replace( '/[\x7f-\xff]/', '', $dirtyData );

Initial Title
Clean a string to pure ASCII

Initial Tags
php

Initial Language
PHP