我有一个 CSV 文档,其中散布着我需要删除的数千个表实例。我假设我可以使用 REGEX,但我似乎无法找到删除它的表达式。我在底部附上了一个样本。
我认为<table(.*)</table>
会起作用,但这似乎忽略了换行符。有人可以帮我删除这些吗?
<table cellpadding=""5"" align=""center"" class=""shippingcost"" style=""width: 525px;"">
<tbody>
<tr>
<td colspan=""2"" style=""text-align: center;"">Shipping:
</td>
</tr>
<tr class=""shippingcostrow"">
<td>
<div align=""right"">Domestic
Canada
International
</td>
<td width=""400"">
<div align=""left"">Insured shipping is included to all U.S. destinations.
Canadian buyers pay $28 for EMS insured shipping.
All International Buyers pay $35 for EMS insured shipping.
</td>
</tr>
</tbody>
</table>