如何用正则表达式提取超链接中的链接和文本?
比如有如下字符串:
<a id=ctl00_header_home href="http://localhost:82/Index.aspx"><font face=Tahoma color=#000080 size=2>Home</font></a><a id=index2 href="http://localhost:82/Type.aspx"><font face=Tahoma color=#000080 size=2>Type</font></a>
如何提取为如下:
文本 链接
Home http://localhost:82/Index.aspx
Type http://localhost:82/Type.aspx