请高手帮帮忙:
我的一个EMAIL目录下有很多个目录,每个目录下有很多文件(.html,.cgi,.asp等等),请问如何把这些文件中的email提取出来.
文件中EMAIL以各种形式存在:(如下:[email protected],[email protected],[email protected])
<td width="20%" align=center>[email protected]</td>
<td width="15%" align=center><a href="" target=_blank></a> </td>
<td width="10%" align=center> </td>
[email protected],[email protected]
<td width="15%" align=center</tr>
<td width="20%" align=center></td>
<td width="15%" align=center><a href="" target=_blank></a> </td>
<td width="10%" align=center> </td>
<td width="8%" align=center>1 </td>如果可以可否给我个源码:
我的一个EMAIL目录下有很多个目录,每个目录下有很多文件(.html,.cgi,.asp等等),请问如何把这些文件中的email提取出来.
文件中EMAIL以各种形式存在:(如下:[email protected],[email protected],[email protected])
<td width="20%" align=center>[email protected]</td>
<td width="15%" align=center><a href="" target=_blank></a> </td>
<td width="10%" align=center> </td>
[email protected],[email protected]
<td width="15%" align=center</tr>
<td width="20%" align=center></td>
<td width="15%" align=center><a href="" target=_blank></a> </td>
<td width="10%" align=center> </td>
<td width="8%" align=center>1 </td>如果可以可否给我个源码:
参考这个应该很容易做到你想要的了。
创建HTML对象,
他可以分析HTML文档,
可以取出你任意想要的东西。交流MSN:[email protected]