Answers for "php printable characters"

PHP
0

php regex non printable characters

myprompt> php -a
Interactive shell

php > $string = "‘Hello,’ she said.";
php > $result = preg_replace('/[x00-x1Fx80-xFF]/', '', $string);
php > echo $result;
Hello, she said.
Posted by: Guest on April-30-2020
0

php regex non printable characters

$result = preg_replace('/[x00-x1Fx80-xFF]/', '', $string);
Posted by: Guest on April-30-2020

Browse Popular Code Answers by Language