|Think about Loose Coupling|
Boolean operators in PERL regexp?by lenrobert (Initiate)
|on Feb 24, 2005 at 18:34 UTC||Need Help??|
lenrobert has asked for the
wisdom of the Perl Monks concerning the following question:
I am aware of OR ( | ), but is there logical NOT in the PERL regex syntax?
I would express the following string, and capture (extract) the content of the second parenthesis.
/(<a href="|<a href=)([^"]*?)(\s|")/gi)
Does anyone know the answer, and help me? Thanks in advance,