Hi netters,

I was wondering if there's a way to specify "not including this phrase" in perl 
regexp. 
Like such two strings:
axbcabcd
axbcacbd

If I say "not including the letter a or the letter b" (=~/[^a^b]/) then neither 
of them will be matched.
However now I want to say "not including the phrase 'ab'", then the string 2 
should be matched.
But I can't figure out how to specify the second condition by regexp.
Could anyone help me?

Thanks a lot!

Zhihua Li


_________________________________________________________________
用手机MSN聊天写邮件看空间,无限沟通,分享精彩!
http://mobile.msn.com.cn/

Reply via email to