remove unknown char
This commit is contained in:
parent
dc85c0f47f
commit
22b2447124
|
@ -2,6 +2,7 @@
|
|||
|
||||
function clean($string)
|
||||
{
|
||||
$string = str_repeat("", "", $string);
|
||||
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue