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

100分 求个正则 抓取网页数据

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <section class="main-sort" id="order">
            <div class="type-sort fn-left">
                <span>排序:</span><a href="javascript:;" data-seed="sort-tj" class="sort-tj cur"><span class="sort-tjIcon">推荐</span></a>
                <a href="javascript:;" data-seed="sort-price" class="sort-price" data-price="0"><span class="sort-priceIcon">价格</span></a>
                <input type="checkbox" class="J_sort J_sortCheck" data-seed="sort-yh" data-item="sale" data-val=""><label>优惠促销</label>
                <input type="checkbox" class="J_sort J_sortCheck" data-seed="sort-bzz" data-item="halftrip" data-val=""><label>半自助</label>
            </div>
            <div class="common-page fn-right">
                <span class="j-pageCurrent">1</span>/<span class="j-pageAll">1</span>
                <a href="javascript:;" class="page-prev no-page">上一页</a>
                <a href="javascript:;" class="page-next no-page">下一页</a>
            </div>
        </section>
        <section class="listbox">
            <div class="ListLoding" style="display: none;">数据正在加载。。。</div>
<ul class="listul J_pagelist">
                
<li data-info="[12]" data-days="6天" data-to="尊爵贵族线" data-halftrip="0" data-tag="尊爵贵族线" data-price="6466" data-chunk="line-SHS67909" class="lineitem cfix" style="display: list-item;">
                    <div class="img fn-left">
<a title="【纯净游】轻松台湾纯玩西线6日游" target="_blank" href="http://sh.uzai.com/tour-67909.html"><img width="125px" height="67px" alt="" data-img="http://r.uzaicdn.com/pic/15434/m/w160/h120/t1" src="http://r.uzaicdn.com/pic/15434/m/w160/h120/t1"></a>
                        <div class="prd-num">产品编号:SHS67