Top "Regex-negation" questions

Regex-negation is an operation performed on a character class that complements its pattern.

How To Negate Regex

Possible Duplicate: Regular expression to match string not containing a word? How can I invert a regular expression in JavaScript? …

regex preg-match regex-negation
C# Regex to match a string that doesn't contain a certain string?

I want to match any string that does not contain the string "DontMatchThis". What's the regex?

c# regex regex-negation
Negating a set of words via java regex

I would like to negate a set of words using java regex. Say, I want to negate cvs, svn, nvs, …

java regex regex-negation
Regex to match anything but two words

I'm trying to write a regular expression to match anything that isn't "foo" and "bar". I found how to match …

.net regex regex-negation
Unix grep regex containing 'x' but not containing 'y'

I need a single-pass regex for unix grep that contains, say alpha, but does not contain beta. grep 'alpha' <&…

regex unix grep regex-negation
Select the next line after match regex

I'm currently using a scanning software "Drivve Image" to extract certain information from each paper. This software enables certain Regex …

regex regex-negation regex-lookarounds
Regex - match anything except specific string

I need a regex (will be used in ZF2 routing, I believe it uses the preg_match of php) that …

regex preg-match regex-negation
RegEx for no whitespace at the beginning and end

I want to design an expression for not allowing whitespace at the beginning and at the end of a string, …

angularjs regex regex-negation
Regex negation?

I'm playing Regex Golf (http://regex.alf.nu/) and I'm doing the Abba hole. I have the following regex that …

regex regex-negation
Regex matching between two strings?

I can't seem to find a way to extract all comments like in following example. >>> import re &…

python regex python-3.x regex-negation