Regular expression to select non-matching pattern
Hi All,
I am new to regular expressions so this may be very basic.
I want to select lines containing non-matching pattern.
For example:
London
NewYork
Delhi
Mountainview
If above are the given then I want cities except "Delhi"
Please suggest. Thanks.
|