filter char

This commit is contained in:
Christopher 2020-10-23 21:51:51 +02:00
parent 9af9a342c5
commit ba3aaaf269
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
function clean($string)
{
$string = str_replace("", "", $string);
$string = str_replace("<EFBFBD>", "", $string);
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string);
}