given the linebreaks aren't anything funnier than \n,
m/\n/s should match all the line breaks,
m/\n\n/s would just match all the empty lines, but
m/\n\n\n/s should match all ocurrencies of two empty lines. So should
m/\n{3}/s
Cheers, Sören
In reply to Re: search for blank lines by RegEx
by Happy-the-monk
in thread search for blank lines by RegEx
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |