W
windows.net
Unregistered / Unconfirmed
GUEST, unregistred user!
我有如下的一文本,现在我想取出其中的超连接文本和url应该怎么写
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td bgcolor="F0F0F0" class="S" align="right">
显示 1-10 条 共 41 条 5 页
<strong>1</strong>
<a href="/athena/offerlist/qianliwei-default-2-false.html">2</a>
<a href="/athena/offerlist/qianliwei-default-3-false.html">3</a>
<a href="/athena/offerlist/qianliwei-default-4-false.html">4</a>
<a href="/athena/offerlist/qianliwei-default-5-false.html">5</a>
</td>
</tr>
</table>
我想取出共5页的5和2 ,3 ,4的连接和文本都要取出来的文本格式像这样
5
2 /athena/offerlist/qianliwei-default-2-false.html
3 /athena/offerlist/qianliwei-default-3-false.html
4 /athena/offerlist/qianliwei-default-4-false.html
5 /athena/offerlist/qianliwei-default-5-false.html
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td bgcolor="F0F0F0" class="S" align="right">
显示 1-10 条 共 41 条 5 页
<strong>1</strong>
<a href="/athena/offerlist/qianliwei-default-2-false.html">2</a>
<a href="/athena/offerlist/qianliwei-default-3-false.html">3</a>
<a href="/athena/offerlist/qianliwei-default-4-false.html">4</a>
<a href="/athena/offerlist/qianliwei-default-5-false.html">5</a>
</td>
</tr>
</table>
我想取出共5页的5和2 ,3 ,4的连接和文本都要取出来的文本格式像这样
5
2 /athena/offerlist/qianliwei-default-2-false.html
3 /athena/offerlist/qianliwei-default-3-false.html
4 /athena/offerlist/qianliwei-default-4-false.html
5 /athena/offerlist/qianliwei-default-5-false.html