^((?!my string).)*$ Is the regular expression for does not contain "my string". Wondering how someone can come up with that? Check out the reference at:
http://www.regular-expressions.info/refadv.html
Read full article from Geeks At Work: Regex for doesn't contain
No comments:
Post a Comment