日期:2014-05-17  浏览次数:20784 次

正则表达式 获取网页
在做某个winform获取网页的指定位置内容时,要用到正则表达式,无奈正则不精通啊,,,,发个模版,求大哥吧正则表达式写下,最好来个c#代码,嘻嘻,,,
HTML code
<tr>
                               <td class="number">
                                <div class="consumeBizNo">
                                   2012102800001000310009864627                                </div>
                               </td>
                               <td class="time">2012-10-28 20:20:16</td>
                               <td class="info">
                                <ul>
                                                                    <li class="name">
                                                                                                                                                                支付-139-8215-0805 四川移动50元自动快充 自动充值 移动话...
                                    </li>
                                                                                                                                                                                    </ul>
                                                               </td>
                                                                   <td class="amount">&nbsp;</td>
                                    <td class="amount outlay">- 49.80</td>
                                                              
                               <td class="balance">20.00</td>
                               <td class="from"><ul>
                                                                                                            <li class="name">支付宝</li>
                                                                                        </ul>
                                   </td>
                               <td class="detail">
                                                                                                            <a href="https://lab.alipay.com/consume/queryTradeDetail.htm?tradeNo=2012102800001000310009864627" target="_blank" seed="detail-link" smartracker="on">查看</a> 
                                                                                                   </td>
                             </tr>
                                                    <tr class="split">
                               <td class="number">
                                <div class="consumeBizNo">
                                   2012102800000000008046766***09                                </div>
                               </td>
                               <td class="time">2012-10-28 20:20:16</td>
                               <td class="info">
                                <ul>
                                                                    <li class="name">
                                                                                                                                                                充值
                                    </li>
                                                                        <li class="name-no"><span class="ft-gray">交易成功</span></li>                                                                                                            </ul>
                                                               </td>
                                                                   <td class="am