正则不匹配某字符串

^((?!hede).)*$

^(?!.*hello)
原文地址:https://www.cnblogs.com/baozhu/p/6527440.html