Subject: Help with regular expression
From: "toulax gmail.com" <toulax@gmail.com>
Date: Fri, 29 Jun 2007 03:55:02 +0900
How can I make a regular expression that will match everything, unless
it contains a certain string then it will match nothing.
For instance, let's say it should not match "bar", then:
"foo" => "foo"
"bar " => nil
"foobar" => nil
Thanks in advance