$ perl -wle '$_="a\nbc\nd";s{$}{<br />}gm; print' a<br /> bc<br /> d<br />
This is your regex but without the additional \n.
If you want to replace the line endings, use s{\n}{<br />}gm
In reply to Re: Massaging the Dictionary
by moritz
in thread Massaging the Dictionary
by hacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |