This does not do what you expect of it -- you're escaping the second backslash, not the the carriage return/newline.$text =~ s/\\r\\n/<br>/;
In reply to Re: Replacing line returns with br
by boo_radley
in thread Replacing line returns with br
by dpatrick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |