title: How can I replace multiple line breaks with a single <BR>?
body: <p>I am replacing all occurances of <code>\n</code> with the <code>&lt;BR&gt;</code> tag, but for some reason the text entered has many <code>\n</code> in a row, so I need to combine them.</p>
  
  <p>Basically, if more than 1 \n occur together, replace it with just a single &lt;BR> tag.</p>
  
  <p>Can someone help me with this?</p>