The example search for lines with two or more \n.local $/; $_ = <STDIN>; my $blanks = () =~ /\n\n+/sg; print "double lines found ( $blanks )\n";
In reply to Re: search for blank lines by RegEx
by borisz
in thread search for blank lines by RegEx
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |