正则匹配任意字母但不包括about,help,conect
$str = "正则匹配任意字母但不包括about,help,conect"; if(preg_match("/about|help|conect/is", $str,$match)){ echo '字符串中存在'.$match[0].'字段'; }
21,886
社区成员
140,364
社区内容
加载中
试试用AI创作助手写篇文章吧