本帖最后由 qqsd126 于 2009-12-13 14:18:13 编辑

解决方案 »

  1.   

    <?php 
    $url="http://taoke.alimama.com/spreader/search_auction.htm?c=&mid=1&q=aaa&cat=0&od=1&conts=&conte=&hs=&he=&cs=&ce=&rs=&re=&loc=";
    $fp = file_get_contents("$url");
    preg_match_all ("#\<(a)\s*(class=)\"(blue)\_(14)\"[^>]*\>[^<]*\<\/(a)\>#",$fp,$titleList, PREG_PATTERN_ORDER);
    print_r($titleList);
    ?> 这个我试过了  遍历时去掉html标签就ok了  
      

  2.   

    正则 取得HTML标题的标签内容