in reply to Re^2: Regex with newlinein thread Regex with newline
$text =~ s%(?:\r\n){2,}%<br /><br />%g; [download]