how to see if a string not contains a multiple substring php code example Example: php find multiple strings in string if(preg_match('(bad|naughty)', $data) === 1) { }