Hi,

Can anyone tell me hoq to write a regular expression which matches
anything _except_ a litteral string ?

For instance, I want to match any line which does not begin with
Nomatch.  So in the following :

Line1 xxxx
Line2 yyyy
Nomatch zzzz
Line3 aaaa
Line 4 bbbb

I would match every line except the one containing "Nomatch zzzz"

Many thanks,

David


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to