Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Boolean operators in PERL regexp?by Enlil (Parson) |
on Feb 24, 2005 at 18:55 UTC ( [id://434194]=note: print w/replies, xml ) | Need Help?? |
m#<a href="?(?!/|#|javascript)([^">]*)#
or something near that. Note that there are much better tools for parsing HTML than regular expressions. Try HTML::TokeParser or HTML::Parser, and save yourself a headache. -enlil
In Section
Seekers of Perl Wisdom
|
|