Editor 记事本中的多行折叠++;

Editor 记事本中的多行折叠++;,editor,notepad++,edit,text-manipulation,Editor,Notepad++,Edit,Text Manipulation,我想使用notepad++进行多行折叠。我的意思是,我正在寻找一个简单的操作来转向 1 2 3 4 进入 那么: Ctrl+H 查找内容:(.+)\R(.+)(\R) 替换为:$1$2$3 全部替换 其中\R表示任何类型的换行符 这会将两行之间的换行符替换为这两行之间用空格分隔的换行符 1 2 3 4

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

1
2
3
4
进入

那么:

  • Ctrl+H
  • 查找内容:
    (.+)\R(.+)(\R)
  • 替换为:
    $1$2$3
  • 全部替换
其中
\R
表示任何类型的换行符

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

1 2
3 4