Tuesday, August 27, 2013

Regex : Foo not with Bar on line

^(?!.*bar).*foo
(?!.*bar)^.*foo
http://stackoverflow.com/questions/2610581/regex-to-find-a-and-not-b-on-a-line

No comments:

Post a Comment