remove /r
This commit is contained in:
parent
1c19c50d24
commit
4df2251ff7
|
@ -3,6 +3,7 @@
|
|||
function clean($string)
|
||||
{
|
||||
$string = str_replace("", "", $string);
|
||||
$string = str_replace("\r", "", $string);
|
||||
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue