Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Boolean operators in PERL regexp?

by lenrobert (Initiate)
on Feb 25, 2005 at 17:41 UTC ( [id://434588]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Boolean operators in PERL regexp?
in thread Boolean operators in PERL regexp?

Ikegami, you're right. As it seems I needed some more help to use your code. Now it works, the final version is:
/(<a href=("|))((?:(?!("|\/|#|javascript)).)*)(\s|"|>)/gi
And $3 is the value of the href property.
Thank you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found