正则表达式

包含xxx,不包含xxx

^(?=.*?(from))(?!.*?(with)).*$

 

posted @ 2016-12-20 07:59  MyFirstHome  阅读(86)  评论(0编辑  收藏  举报