我能使用jQuery来删除
中的一部分文本吗?
例如:
例如:
<div class="entry">
Published May 18th 2011 - Approuved - Expire May 18 th 2012<br>Source: SuperSite
</div>
我想要移除已批准 - 有效期至2012年5月18日
因此结果应该是:
<div class="entry">
Published May 18th 2011 <br>Source: SuperSite
</div>