Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Boolean operators in PERL regexp?

by Enlil (Parson)
on Feb 24, 2005 at 18:55 UTC ( #434194=note: print w/ replies, xml ) Need Help??

in reply to Boolean operators in PERL regexp?

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.


Comment on Re: Boolean operators in PERL regexp?
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://434194]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-11-28 01:21 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (737 votes), past polls