in reply to Replacing new lines in multi line text box form fields with <br>.

$INPUT{'comments'} =~ s/\r\n?|\n/<br>/g;
  • Comment on Re: Replacing new lines in multi line text box form fields with <br>.
  • Download Code