regex - Add certain number of line breaks in Notepad++ -


i try add given number of line breaks in notepad++. searching \r\n , replacing [\r\n]{10} doesn't work me. regular expressions interpretation on. how should add number of line breaks?

note replacement pattern not accepting regular expression. regex can used inside find what field, not in replace with.

use extendedmode , replace \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n replace 1 linebreak 10.

a regex match line break \r (be \r\n, or \n or \r), way.

to make more "dynamic", may use pythonscript like

editor.rereplace(r'\r\n', '\r\n'*10) 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

c# - Json.Net Serialize String from URI -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -