日期:2014-05-17 浏览次数:20584 次
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="height:4.7em;">
<tbody>
<tr class="uccRes">
<td width="47%" align="right">
100.00
<span class="uccResCde">HKD</span>
</td>
<td width="6%" valign="middle" align="center">=</td>
<td width="47%" align="left">
80.8549
<span class="uccResCde">CNY</span>
</td>
</tr>
<tr class="uccResRgn">
<td width="47%" align="right">
<a href="/currency/hkd-hong-kong-dollar">Hong Kong Dollar</a>
</td>
<td width="6%" valign="middle" align="center" rowspan="2">
<a class="uccResInv" href="/ucc/convert/?Amount=100&From=CNY&To=HKD">?</a>
</td>
<td width="47%" align="left">
<a href="/currency/cny-chinese-yuan-renminbi">Chinese Yuan Renminbi</a>
</td>
</tr>
<tr class="uccResUnit">
<td width="47%" align="right">1 HKD = 0.808549 CNY</td>
<td width="47%" align="left">1 CNY = 1.23678 HKD</td>
</tr>
</tbody>
</table>
<tr class="uccResUnit">
<td width="47%" align="right">1 HKD = 0.808549 CNY</td>
<td width="47%" align="left">1 CNY = 1.23678 HKD</td>
</tr>
然后在获取你要抓取的
<td width="47%" align="right">(?<val>.*?)</td>,其它的类似