[英]How to insert a break every 3 sentences in Notepad++?
I have 1 paragraph. 我有1段。
Sentence 1. Sentence 2. Sentence 3. Sentence 4. Sentence 5. Sentence 6. Sentence 7.
句子1.句子2.句子3.句子4.句子5.句子6.句子7。
After make new break. 经过新的休息。 It will be become:
它将成为:
Sentence 1. Sentence 2. Sentence 3.
Sentence 4. Sentence 5. Sentence 6.
Sentence 7.
How to do that ? 怎么做 ? Thanks !
谢谢 !
((?:.*?\.\s+)(?:.*?\.\s+)(?:.*?\.))\s*
Try this.Replace by $1\\n
.See demo. 试试这个,用
$1\\n
代替,看演示。
http://regex101.com/r/tF5fT5/27 http://regex101.com/r/tF5fT5/27
or 要么
((?:.*?\.\s+){3})\s*
http://regex101.com/r/tF5fT5/26 http://regex101.com/r/tF5fT5/26
You can scale to 20
as well. 您也可以缩放到
20
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.