Heads up! This post was written 13 years ago. Some information might be outdated or may have changed since then.
function br2nl($text) { return preg_replace('/\
/is', "\n", $text); }
function br2nl($text) { return preg_replace('/\
/is', "\n", $text); }