日期:2014-05-17 浏览次数:20597 次
<th class="left">股市名称</th> <th>最新</th> <th>涨跌幅%</th> td class='left' width='72'> <div>纳斯达克</div></td>
$value=<<<html <th class="left">股市名称</th> <th>最新</th> <th>涨跌幅%</th> <td class='left' width='72'> <div>纳斯达克</div></td> html; preg_match_all('/(<th[^>]*>|<div>)(.*)(<\/th>|<\/div>)/isU', $value,$strs); print_r($strs[2]);