|
<td class="country"><img src="http://fs.xicidaili.com/images/flag/cn.png" alt="Cn" /></td>
<td>110.73.10.198</td>
<td>8123</td>
<td>
<a href="/2016-05-01/guangxi">广西防城港</a>
</td>
<td class="country">高匿</td>
<td>HTTP</td>
<td class="country">
<div title="6.853秒" class="bar">
<div class="bar_inner slow" style="width:70%">
</div>
</div>
</td>
<td class="country">
<div title="1.37秒" class="bar">
<div class="bar_inner medium" style="width:90%">
</div>
</div>
</td>
<td>16-05-01 08:45</td>
用这个正则 Regex rxTD = new Regex(@"(?<=<td[^>]*>[\s]*?)([\S]*)(?=[\s]*?</td>)", RegexOptions.IgnoreCase & RegexOptions.Multiline);mc2 = rxTD.Matches(上边的源码);只得到这4个结果[0] {182.90.1.92} + [1] {80} + [2] {高匿} + [3] {HTTP}
其他的地址 、秒数‘和最后的日期没得到,求高手帮下我’
|
|