edltplus使用正则表达式替换多余空行

前端之家收集整理的这篇文章主要介绍了edltplus使用正则表达式替换多余空行前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
24-7
<font style="font-weight:bold;">24-7</font><div class="tab_content" id="dict_tab_101" style="display:block"><div class="part_main"><div class="collins_content"><div class="collins_en_cn"><div style='display:block;background-color:#f5f7fc;'><span style="color:#666666;font-weight:bold;font-size:95%;">1.</span><span style="color:#666666;font-weight:bold;font-size:95%;" tid="1_67030">ADV	副词</span><span style="color:#0077cf">  连续发生地;不中断地;无休止地</span> If something happens <b style="color:#0077cf;">24-7</b>,it happens all the time without ever stopping. <b style="color:#0077cf;">24-7</b> means twenty-four hours a day,seven days a week. <span ><div   id="word_gram_1_67030"><div ><div> 【搭配模式】:ADV after v</div><div> 【搭配模式】:ADJ n</div><div> 【语域标签】:mainly AM 主美</div><div> 【语域标签】:INFORMAL 非正式</div></div></div></span></div><ol style="margin:0 0 0.5em 1em;padding-left:0;list-style-type:none"><li><span style="color:teal;margin-right:2pt;">•</span><font color=#008080>I feel like sleeping <span style="color:#0077cf; text-decoration:underline;">24-7</span>.</font><font style="color:gray;margin-left:12pt;" >我想一直睡下去。</font></li><li style='display:block;background-color:#f9f9dc;'><b style="color:#0077cf;">24-7</b> is also an adjective.<span style="color:#0077cf">  </span><ol style="margin:0 0 0.5em 1em;padding-left:0;list-style-type:none"><li><span style="color:teal;margin-right:2pt;">•</span><font color=#008080>...a <span style="color:#0077cf; text-decoration:underline;">24-7</span> radio station.</font><font style="color:gray;margin-left:12pt;" >24 小时广播电台</font></li></ol></li></ol></div></div></div></div>


911
<font style="font-weight:bold;">911</font><div class="tab_content" id="dict_tab_101" style="display:block"><div class="part_main"><div class="collins_content"><div class="collins_en_cn"><div style='display:block;background-color:#f5f7fc;'><span style="color:#666666;font-weight:bold;font-size:95%;">1.</span><span style="color:#666666;font-weight:bold;font-size:95%;" tid="1_41750">NUM	数词</span><span style="color:#0077cf">  (美国的紧急求助电话号码)</span> <b style="color:#0077cf;">911</b> is the number that you call in the United States in order to contact the emergency services. </div><ol style="margin:0 0 0.5em 1em;padding-left:0;list-style-type:none"><li><span style="color:teal;margin-right:2pt;">•</span><font color=#008080>The women made their first <span style="color:#0077cf; text-decoration:underline;">911</span> call about a prowler at 12:46 a.m.</font><font style="color:gray;margin-left:12pt;" >那些女人在上午12 点 46分第一次打911报警说有小偷。</font></li></ol></div></div></div></div>



只想保留一行空格

ctrl + h

regular expression

^[ \t]*\n\n

\n

原文链接:https://www.f2er.com/regex/358456.html

猜你在找的正则表达式相关文章