|
用UltraEdit32查找“ 2 </font>^p”找到如所附“示例文档”中的各行。
我想删除各行结尾处的“ 2 </font>”及其之前的一个单词。比如所附文档第1行中的“academic 2</font>”
但在以“,”或“is”、“same as”或“see”临近结尾的“‘某单词’ 2 </font>”的时候(如示例文档最后两行)则只删除行结尾的“</font>”。
请高手赐教,谢谢!
示例文档:
<br>The children were doing well academically. academic 2</font>
<br>a hotel with the accent very much on comfort and luxury accent 2</font>
<br>There is easy access to the downtown area by subway. access 2</font>
<br><font color="#00BB00">3 </font>a long-lasting feeling of sadness ache 2</font>
<br><font color="#00BB00">2 [uncount] </font>INFORMAL the illegal drug LSD acid 2</font>
<br>Act 1, Scene 2</font>
<br>Australian Capital Territory: the area in eastern Australia where the capital city, Canberra, is ACT 2</font>
[ 本帖最后由 philostone 于 2009-3-16 21:49 编辑 ] |
|