Answers for "replace backward slash in php"

PHP
0

php remove slash from string

echo preg_replace('/\\\\/', '', $var);
Posted by: Guest on October-18-2021
0

string replace backslash php \\ \

$str = str_replace('\\', '/', $str);
Posted by: Guest on August-31-2021

Code answers related to "replace backward slash in php"

Browse Popular Code Answers by Language