【问题标题】:Multiple-line collapse in Notepad++Notepad++ 中的多行折叠
【发布时间】:2017-08-28 09:49:33
【问题描述】:

我想用notepad++做多行折叠。我的意思是我正在寻找一个简单的操作来转

1
2
3
4

进入

1 2
3 4

【问题讨论】:

    标签: editor notepad++ edit text-manipulation


    【解决方案1】:

    怎么样:

    • Ctrl+H
    • 查找内容:(.+)\R(.+)(\R)
    • 替换为:$1 $2$3
    • 全部替换

    \R 代表任何类型的换行符。

    这将用空格分隔的这两行替换两行之间的换行符。

    【讨论】:

      猜你喜欢
      • 2013-10-29
      • 2016-01-19
      • 1970-01-01
      • 2011-08-27
      • 1970-01-01
      • 2017-01-11
      • 2018-08-15
      • 2011-04-15
      • 2013-10-08
      相关资源
      最近更新 更多