in reply to Re: Converting carriage returns to HTML breaks
in thread Converting carriage returns to HTML breaks

I think that should be  [\n\r]{1,2} and  '<br/>' and whether it will actually work is another question.