On Dec 27, Papo Napolitano said: >/\<(br|b|\/b|a\s.*?|\/a|p|\/p)\>/ > >Now, how do I negate it?
Using a negative look-ahead: m{<(?!br?|a\s|p|/[bap])(.*?)>} $1 will hold something other than "br", "b", "a ...", "p", "/b", "/a", or "/p". -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]