818
浏览
正则表达式判断包含多个关键词,并且不能包含某个关键词的条件怎么写
/^(?!.*王磊).*(张明|李红|赵虎)/ var arr = ["我是李红","我是王伟","我是王磊张明","我是张明"]; arr.forEach(function(v, i){ console.log(v,/^(?!.……