Answers for "str_replace replace differents caracteres especiales php"

PHP
6

php replace return character

$string = str_replace("\n", "", $string);
$string = str_replace("\r", "", $string);
Posted by: Guest on May-14-2020
2

php str_replace multiple

str_replace(array(':', '\\', '/', '*'), ' ', $string);
Posted by: Guest on October-09-2020

Browse Popular Code Answers by Language