R
Robert Mark Bram
Hi All,
I have the following to replace newline chars with <br> in a string:
..replace(/\n/g,"<br>")
How can I change this so that it replaces only if there is not already a
"<br>newline" or "newline<p>" combo?
Thanks for any advice!
Rob

I have the following to replace newline chars with <br> in a string:
..replace(/\n/g,"<br>")
How can I change this so that it replaces only if there is not already a
"<br>newline" or "newline<p>" combo?
Thanks for any advice!
Rob