95c28e015b0f3d50aa8547af82a5d053
a34de1251f0d9fe1e645927f19a896e8
b37c02d360afe61647c33ff4f545d897d0d5ed95890bb5fab5be0d56f544bb27商标名称5db79b134e9f6b82c0b36e0489ee08edb90dd5946f0946207856a8a37f441edf
c3f7968a68bc6287a37ac7c44ac38d49e388a4556c0f65e1904146cc1a846bee尚杉彩94b3e26ee717c64999d7867364b1b4a3b90dd5946f0946207856a8a37f441edf
b37c02d360afe61647c33ff4f545d897注册号/申请号b90dd5946f0946207856a8a37f441edf
34a739f6e27064e3a1a74fe0bbac43c69326603b90dd5946f0946207856a8a37f441edf
fd273fcf5bcad3dfdad3c41bd81ad3e5
a34de1251f0d9fe1e645927f19a896e8
b37c02d360afe61647c33ff4f545d897国际分类号b90dd5946f0946207856a8a37f441edf
d7de8bf2698b8d4afe3ed62dc820ebee14b90dd5946f0946207856a8a37f441edf
b37c02d360afe61647c33ff4f545d897申请日期b90dd5946f0946207856a8a37f441edf
34a739f6e27064e3a1a74fe0bbac43c62011/4/12b90dd5946f0946207856a8a37f441edf
fd273fcf5bcad3dfdad3c41bd81ad3e5
f16b1740fad44fb09bfe928bcc527e08
如何得到b6c5a531a458a2e790c1fd6421739d1cb90dd5946f0946207856a8a37f441edf中的内容,感谢,能否贴出源码!!!!!
没人知道吗?????
$s =<<< HTML<table id="TMsDt" class="TMs"><tr><td class="TBdt1"><a name="TopHere" id="TopHere">商标名称</a></td> <td class="TBdt2 tdp"><p>尚杉彩</p></td> <td class="TBdt1">注册号/申请号</td> <td class="TBdt3">9326603</td> </tr> <tr> <td class="TBdt1">国际分类号</td> <td class="TBdt2">14</td> <td class="TBdt1">申请日期</td> <td class="TBdt3">2011/4/12</td> </tr> </table>HTML;preg_match_all('#<(td)[^>]*>(.+)</\1#i', $s, $r);print_r($r[2]);
Array( [0] => <a name="TopHere" id="TopHere">商标名称</a> [1] => <p>尚杉彩</p> [2] => 注册号/申请号 [3] => 9326603 [4] => 国际分类号 [5] => 14 [6] => 申请日期 [7] => 2011/4/12)
非常感谢,如果同时能把html标签去掉就更好了,如e388a4556c0f65e1904146cc1a846bee94b3e26ee717c64999d7867364b1b4a3d0d5ed95890bb5fab5be0d56f544bb275db79b134e9f6b82c0b36e0489ee08ed
非常感谢,如果同时能把html标签去掉就更好了,如e388a4556c0f65e1904146cc1a846bee94b3e26ee717c64999d7867364b1b4a3d0d5ed95890bb5fab5be0d56f544bb275db79b134e9f6b82c0b36e0489ee08ed 数组循环下,对值用strip_tags()