正则表达式:不能包含某些特殊字符串

# 正则
/^((?!list|news|index).)*$/.test('list0')

 

转载于:https://www.cnblogs.com/kjcy8/p/10773060.html