Question : php remove control characters from string
Answered by : wicked-worm-8hcrxvq84oh5
preg_replace('/[[:cntrl:]]/', '', $input);
Source : https://stackoverflow.com/questions/1497885/remove-control-characters-from-php-string | Last Update : Tue, 06 Jul 21