我想从下面的字符串里找出所有的时间,收发地址字符串,求正则表达式,或者其他方法实现也可以!谢谢想要取得的字符串示例:
2010-04-16 12:41:12  【广东广州永福点】的收件员【简广洪 】已收件      
2010-04-16 20:38:18  快件已到达【广东广州公司】 扫描员是【彭光笃】上一站是【】      
2010-04-16 21:20:17  由【广东广州公司】发往【浙江杭州中转部】      
2010-04-18 06:46:03  由【浙江临海中转部】发往【浙江椒江公司】      
2010-04-18 09:09:37  快件已到达【浙江椒江公司】 扫描员是【椒江申通】上一站是【】      
2010-04-18 09:41:26  【浙江椒江公司】已进行【留仓件】扫描      
2010-04-19 08:01:23  快件已到达【浙江椒江公司】 扫描员是【808】上一站是【】      
2010-04-19 09:04:12  【浙江椒江公司】的派件员【李显品13058798096 手机(13058798096)】正在派件      
2010-04-19 10:50 已签收,签收人是本人签收  附字付串如下:
<table  class="23">
    <tr style="background:#F0F0EF;">
        <td >
            <font color="#000000">
                2010-04-16 12:41:12
            </font>
        </td>
        <td >            
            <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州永福点"
                target="new">广东广州永福点</a></font><span class="STYLE8">】的收件员【</span><font color="blue">简广洪 </font><span  class="STYLE8">】已收件 </span>            
        </td>        
        <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
    <tr >
        <td >
            <font color="#000000">
                2010-04-16 20:38:18
            </font>
        </td>
        <td >            
            <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司"  target="new">广东广州公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">彭光笃</font>】上一站是【<font  color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=" target="new"></a></font>】            
        </td>          
        <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
    <tr style="background:#F0F0EF;">
        <td >
            <font color="#000000">
                2010-04-16 21:20:17
            </font>
        </td>
        <td >            
            <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司"  target="new">广东广州公司</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a  href="http://www.sto.cn/query_list.asp?name=浙江杭州中转部" target="new">浙江杭州中转部</a></font><span class="STYLE8">】
                    </span>            
        </td>          
         <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
    <tr >
        <td >
            <font color="#000000">
                2010-04-18 06:46:03
            </font>
        </td>
        <td >            
            <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江临海中转部"  target="new">浙江临海中转部</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a  href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】 </span>            
        </td>          
        <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
    <tr style="background:#F0F0EF;">
        <td >
            <font color="#000000">
                2010-04-18 09:09:37
            </font>
        </td>
        <td >            
            <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司"  target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">椒江申通</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】            
        </td>          
        <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
    <tr >
        <td >
            <font color="#000000">
                2010-04-18 09:41:26
            </font>
        </td>
        <td >            
            <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】已进行【</span><font color="#ff0000">留仓件</font><span  class="STYLE8">】扫描 </span>            
        </td>          
        <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
    <tr style="background:#F0F0EF;">
        <td >
            <font color="#000000">
                2010-04-19 08:01:23
            </font>
        </td>
        <td >            
            <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">808</font>】上一站是【<font  color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】            
        </td>          
        <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
    <tr >
        <td >
            <font color="#000000">
                2010-04-19 09:04:12
            </font>
        </td>
        <td >            
            <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司"  target="new">浙江椒江公司</a></font><span class="STYLE8">】的派件员【</span><font color="blue">李显品13058798096 手机(13058798096)</font><span class="STYLE8">】正在派件</span>            
        </td>
        <td align="center">
        <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
        </td>
    </tr>    
  <tr>
    <td style="width: 227px" >2010-04-19 10:50</td>
    <td  align="left" style="width: 777px">    
      <span class="STYLE8">已</span><span class="STYLE10">签收</span>,<span class="STYLE8">签收人是</span><font color="blue">本人签收</font><span class="STYLE8"></span>
      </td>
      <td align="left" style="widt h: 1px">
      </td>
      <td align="left" style="width: 831px">
      </td>
      <td align="left">
      </td>
  </tr>
</table>

解决方案 »

  1.   

    以下是我测试过的,效果能实现,不是不是你想要的,如果能解决问题,别忘了给你啊。
    以下是代码:(具体的自己再调整):
    <?php
    $txt='<table class="23">
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-16 12:41:12
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州永福点"
      target="new">广东广州永福点</a></font><span class="STYLE8">】的收件员【</span><font color="blue">简广洪 </font><span class="STYLE8">】已收件 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-16 20:38:18
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司" target="new">广东广州公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">彭光笃</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-16 21:20:17
      </font>
      </td>
      <td >   
      <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司" target="new">广东广州公司</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江杭州中转部" target="new">浙江杭州中转部</a></font><span class="STYLE8">】
      </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-18 06:46:03
      </font>
      </td>
      <td >   
      <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江临海中转部" target="new">浙江临海中转部</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-18 09:09:37
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">椒江申通</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-18 09:41:26
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】已进行【</span><font color="#ff0000">留仓件</font><span class="STYLE8">】扫描 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-19 08:01:23
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">808</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-19 09:04:12
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】的派件员【</span><font color="blue">李显品13058798096 手机(13058798096)</font><span class="STYLE8">】正在派件</span>   
      </td>
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr>
      <td style="width: 227px" >2010-04-19 10:50</td>
      <td align="left" style="width: 777px">   
      <span class="STYLE8">已</span><span class="STYLE10">签收</span>,<span class="STYLE8">签收人是</span><font color="blue">本人签收</font><span class="STYLE8"></span>
      </td>
      <td align="left" style="widt h: 1px">
      </td>
      <td align="left" style="width: 831px">
      </td>
      <td align="left">
      </td>
      </tr>
    </table>';
    preg_match_all('/\<font color=\"\#000000\"\>\s*\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\s*\<\/font\>/i',$txt,$result);
    print_r ($result);
    ?>
      

  2.   

    也可以把代码保存成txt格式再匹配也可以的:<?php
    $file=fopen("htm.txt","r");
    $content=fread($file,filesize("htm.txt"));//读文件 
    //echo $content;
    $txt=' <font color="#000000">2010-04-16 12:41:12</font>';
    preg_match_all('/\<font color=\"\#000000\"\>\s*\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\s*\<\/font\>/i',$content,$result);
    print_r ($result);
    ?>这样写起来就简单些,不过匹配的方法有很多,这是最基础的写法。更好的还要自己慢慢的琢磨
      

  3.   


    <?php
    $html = <<<html
    <table class="23">
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-16 12:41:12
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州永福点"
      target="new">广东广州永福点</a></font><span class="STYLE8">】的收件员【</span><font color="blue">简广洪 </font><span class="STYLE8">】已收件 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-16 20:38:18
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司" target="new">广东广州公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">彭光笃</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-16 21:20:17
      </font>
      </td>
      <td >   
      <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司" target="new">广东广州公司</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江杭州中转部" target="new">浙江杭州中转部</a></font><span class="STYLE8">】
      </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-18 06:46:03
      </font>
      </td>
      <td >   
      <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江临海中转部" target="new">浙江临海中转部</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-18 09:09:37
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">椒江申通</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-18 09:41:26
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】已进行【</span><font color="#ff0000">留仓件</font><span class="STYLE8">】扫描 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-19 08:01:23
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">808</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-19 09:04:12
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】的派件员【</span><font color="blue">李显品13058798096 手机(13058798096)</font><span class="STYLE8">】正在派件</span>   
      </td>
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr>
      <td style="width: 227px" >2010-04-19 10:50</td>
      <td align="left" style="width: 777px">   
      <span class="STYLE8">已</span><span class="STYLE10">签收</span>,<span class="STYLE8">签收人是</span><font color="blue">本人签收</font><span class="STYLE8"></span>
      </td>
      <td align="left" style="widt h: 1px">
      </td>
      <td align="left" style="width: 831px">
      </td>
      <td align="left">
      </td>
      </tr>
    </table>
    html;
    //$pattern = "/(?<=[>])(.*?)(?=【)/";
    //preg_match_all($pattern, $html, $match);
    //print_r($match);
    $html = strip_tags($html);
    echo $html;
    ?>
      

  4.   


    <?php
    $html = <<<html
    <table class="23">
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-16 12:41:12
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州永福点"
      target="new">广东广州永福点</a></font><span class="STYLE8">】的收件员【</span><font color="blue">简广洪 </font><span class="STYLE8">】已收件 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-16 20:38:18
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司" target="new">广东广州公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">彭光笃</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-16 21:20:17
      </font>
      </td>
      <td >   
      <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=广东广州公司" target="new">广东广州公司</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江杭州中转部" target="new">浙江杭州中转部</a></font><span class="STYLE8">】
      </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-18 06:46:03
      </font>
      </td>
      <td >   
      <span class="STYLE8">由【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江临海中转部" target="new">浙江临海中转部</a></font><span class="STYLE8">】发往【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-18 09:09:37
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">椒江申通</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-18 09:41:26
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】已进行【</span><font color="#ff0000">留仓件</font><span class="STYLE8">】扫描 </span>   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr style="background:#F0F0EF;">
      <td >
      <font color="#000000">
      2010-04-19 08:01:23
      </font>
      </td>
      <td >   
      <span class="STYLE8">快件已到达【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】</span> 扫描员是【<font color="blue">808</font>】上一站是【<font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new"></a></font>】   
      </td>   
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr >
      <td >
      <font color="#000000">
      2010-04-19 09:04:12
      </font>
      </td>
      <td >   
      <span class="STYLE8">【</span><font color="#ff0000"><a href="http://www.sto.cn/query_list.asp?name=浙江椒江公司" target="new">浙江椒江公司</a></font><span class="STYLE8">】的派件员【</span><font color="blue">李显品13058798096 手机(13058798096)</font><span class="STYLE8">】正在派件</span>   
      </td>
      <td align="center">
      <a href="http://www.99pto.com/?utm_source=sto&utm_medium=button&utm_content=sto_1003inquryresult_button " target="_blank"><img src="http://www.99pto.com/media/images/cooperation/sto/sto_searchresult_button.jpg" border="0"></a>
      </td>
      </tr>   
      <tr>
      <td style="width: 227px" >2010-04-19 10:50</td>
      <td align="left" style="width: 777px">   
      <span class="STYLE8">已</span><span class="STYLE10">签收</span>,<span class="STYLE8">签收人是</span><font color="blue">本人签收</font><span class="STYLE8"></span>
      </td>
      <td align="left" style="widt h: 1px">
      </td>
      <td align="left" style="width: 831px">
      </td>
      <td align="left">
      </td>
      </tr>
    </table>
    html;
    $pattern = "@<[\/\!]*?[^<>]*?>@si";
    echo preg_replace($pattern, '', $html);
    ?>