正则表达式 包含xxx,不包含xxx ^(?=.*?(from))(?!.*?(with)).*$ MyFirstHome Wonderful world because I http://www.cnblogs.com/maomao999/ 如果有侵权,请联系我删除。