排除正则

^((?!.(js|css|gif|png|woff)).)*$

原文地址:https://www.cnblogs.com/wlf-919874006/p/6522451.html