我想在 (4)
后插入新行 Notepad++ 中整个文档的选项
- For his alleged involvement in
espio-nage
(1) abc
(2) sdf
(3) asf
(4) agg- When the Principal was entering
the class, all my friends quietly...
(1) dfg
(2) hsc
(3) sdg
(4) fse
下面的表达式不起作用。
查找内容:
^.+(4)
替换为:\n$0
最佳答案
应该是这样的。
查找:(\(4\).+)
替换:$1\n
请记住括号 (
和 )
在正则表达式中有特殊含义,所以你应该用 \
转义它们.
关于regex - Notepad++ : Insert blank new line after match of some string,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51870346/