in reply to Re: remove blank lines with regex
in thread remove blank lines with regex

FYI
the /s flag only matters if you have '.' in your regex.
So, /\n\n/ will work just as good as /\n\n/s
From perlre
... s Treat string as single line. That is, change "." to match any character whatsoever, even a newline, which normally it would not match. ...
--perlplexer