Answers for "php str multiple rep"

PHP
4

php find multiple strings in string

if(preg_match('(bad|naughty)', $data) === 1) { }
Posted by: Guest on April-03-2020
2

php str_replace multiple

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

Browse Popular Code Answers by Language