<tr height="27" id="这里的属性要删除">
<td id="这里的属性要删除" height="27" width="691" colspan="6" style="font-size: 16pt; text-decoration: none; height: 20.25pt; width: 518.25pt; vertical-align: middle; background: #ffffff; font-weight: 700; color: #000000; font-style: normal; text-align: center">各种说明和不说明</td>
</tr>
<tr id="这里的属性要删除" height="21">
<td id="这里的属性要删除" height="21" width="691" colspan="6" style="font-size: 10pt; text-decoration: none; height: 15.75pt; width: 518.25pt; vertical-align: middle; background: #ffffff; white-space: normal; font-weight: 700; color: #000000; font-style: normal; text-align: left">
<p class="ccc" name="这里的属性要删除"> 这段文字还保留</p>
<p>这段文字和换行要保留</p>
</td>
</tr>
比如上面这段html代码,如何过滤,求好心人指导
我匹配的时候要么就全部匹配到行尾要么就将整个标签给替换...如何写啊