You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-user@jakarta.apache.org by PICARD Jérôme <jp...@aston.fr> on 2003/02/20 11:01:20 UTC

Retrieve all occurences of a HREF balise

Hello,

Is it possible to retrieve all occurences of a balise HREF in a HTML text ?

I try this regular expression on a single line, it's work, but on a full
text it doesn't work.

<a\\s+href=\"([:print:]+)\"\\s*>\\s*([:print:]+)\\s*</a>

Have you an idea ?

Thanks.