![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Regex Titans? - format plaintext to HTMLby greywolf (Priest) |
on Jun 04, 2002 at 20:41 UTC ( #171631=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|