$text =~ s|\r\n\r\n|<br /><br />|sg; [download]
In reply to Re: Regex with newline by voyager in thread Regex with newline by voyager