@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.
In reply to Re: How can I find the links in HTML tags?
by hawson
in thread How can I find the links in HTML tags?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |