Use preg_match instead of strpos