各位大虾,小弟现在想把一个html的文档里的某些字符串过滤掉,只保留html的基本的语法和文本内容。下面就是这个文档的部分内容:
</tr>
<tr style='mso-yfti-irow:3;height:38.2pt'>
<td width=103 style='width:77.4pt;border:solid windowtext 1.0pt;border-top:
none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
padding:0cm 5.4pt 0cm 5.4pt;height:38.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:15.0pt;font-family:仿宋_GB2312;mso-bidi-font-family:仿宋_GB2312'>通信地址</span><span
lang=EN-US style='font-size:15.0pt;font-family:仿宋_GB2312'><o:p></o:p></span></p>
</td>
<td width=240 style='width:180.0pt;border-top:none;border-left:none;
border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:38.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:15.0pt;font-family:仿宋_GB2312'><o:p> </o:p></span></p>
</td>
<td width=60 style='width:45.0pt;border-top:none;border-left:none;border-bottom:
solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;mso-border-top-alt:
solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:38.2pt'>
<p class=MsoNormal><span style='font-size:15.0pt;font-family:仿宋_GB2312;
mso-bidi-font-family:仿宋_GB2312'>邮编</span><span lang=EN-US style='font-size:
15.0pt;font-family:仿宋_GB2312'><o:p></o:p></span></p>
</td>
请问那位能给点思路和方法啊~小弟跪求了~
[求助]字符过滤问题!