http://qs1969.pair.com?node_id=33637


in reply to How can I find the links in HTML tags?

@links = $html =~ /<a\s+href="([^"]+)"/gi;

Of course, this isn't robust and is easy to fool. But it'll work in a lot of cases, especially if you have control over the quality of the HTML input.