http://qs321.pair.com?node_id=171631


in reply to Regex Titans? - format plaintext to HTML

Text that gets entered from a windows machine may have both a newline (\n) and a carriage return (\r) to signify the end of the line. You may want to strip the carriage returns out as well.

mr greywolf
  • Comment on Re: Regex Titans? - format plaintext to HTML