关于表格嵌套的正则
源代码为:<TABLE cellSpacing=1 cellPadding=1 width="100%" bgColor=#a2c7e1 border=0><TR><TD class=paratype height=22> 索尼8毫米金属录像磁带P5-120MP基本参数</TD></TR><TR><TD bgColor=white><TABLE cellSpacing=1 cellPadding=1 width="100%" border=0><TR><TD colSpan=3><TABLE height=2 cellSpacing=0 cellPadding=0 width=528 align=center border=0><TR><TD></TD></TR></TABLE><TABLE cellSpacing=1 cellPadding=0 width=528 align=center border=0><TR align=middle></TR></TABLE><TABLE height=3 cellSpacing=0 cellPadding=0 width=528 align=center border=0><TR><TD></TD></TR></TABLE></TD></TR><TR><TD width="30%">产品类别</TD><TD width="60%">Mini DV带</TD><td width="10%" align="center"><a href="http://product.pcpop.com/userfeedback/ProductParameter.aspx?ProductSN=000124402&cEditParSN=000005388">挑错</a></td></TR><TR bgColor=#f5f5f5><TD width="30%">拍摄时间</TD><TD width="60%">120分钟</TD><td width="10%" align="center"><a href="http://product.pcpop.com/userfeedback/ProductParameter.aspx?ProductSN=000124402&cEditParSN=000005389">挑错</a></td></TR><TR><TD width="30%">产品描述</TD><TD width="60%">经过多次录播,色彩依然鲜艳; <br />采用独特金属粒子;<br />较一般录像带磁化性能高出四倍.</TD><td width="10%" align="center"><a href="http://product.pcpop.com/userfeedback/ProductParameter.aspx?ProductSN=000124402&cEditParSN=000005390">挑错</a></td></TR></TABLE></TD></TR></TABLE>
如何把它变为:
<TABLE ><TR><TD >索尼8毫米金属录像磁带P5-120MP基本参数</TD></TR><TR><TD >产品类别</TD><TD >Mini DV带</TD></TR><TR ><TD >拍摄时间</TD><TD >120分钟</TD></TR><TR><TD >产品描述</TD><TD >经过多次录播,色彩依然鲜艳; 采用独特金属粒子;较一般录像带磁化性能高出四倍.</TD></TR></TABLE>
请大家帮帮忙。。 谢谢了。
页:
[1]