Notepad++ 从>;中删除所有行;要在记事本中使用正则表达式++;

Notepad++ 从>;中删除所有行;要在记事本中使用正则表达式++;,notepad++,Notepad++,如何删除中的所有行在Replace选项卡中使用以下正则表达式作为“查找内容” 试试看 查找内容:\s+(\n$2谢谢你,它像一个符咒:)“.matches newline”完成了工作。@c64girl如果这个答案对你有帮助,请随时接受和/或记录声誉低于15的投票,但不要更改公开显示的帖子分数。 <recipe-banner data-event-emmiter-ids="add-to-shopping-list-button add-to-shopping-list-hand

如何删除
中的所有行在Replace选项卡中使用以下正则表达式作为“查找内容”

试试看


查找内容:
\s+(\n$2

谢谢你,它像一个符咒:)“.matches newline”完成了工作。@c64girl如果这个答案对你有帮助,请随时接受和/或记录声誉低于15的投票,但不要更改公开显示的帖子分数。
  <recipe-banner data-event-emmiter-ids="add-to-shopping-list-button add-to-shopping-list-handle-form">
    <core-sticky position="top">
      <core-conversion-teaser hide-on-close class="core-conversion-teaser--fixed-icon core-conversion-teaser--single-line" hidden="hidden">
        <div class="core-conversion-teaser__content">
          <span class="core-conversion-teaser__icon" aria-hidden="true">add_shopping_cart</span>
          <div class="core-conversion-teaser__message-section">
            <p class="core-conversion-teaser__header">Przepis został dodany do listy zakupów</p>
          </div>
          <div class="core-conversion-teaser__button-section">
            <a href="/shopping/pl" class="button--outline-primary">Pokaż listę zakupów</a>
          </div>
          <button class="core-conversion-teaser__close" aria-label="close"></button>
        </div>
      </core-conversion-teaser>
    </core-sticky>
  </recipe-banner>
<recipe-banner(.+?)</recipe-banner>