title: how to remove &nbsp; and <br> using javascript or jQuery?
body: <p>I have written the following code. But it is removing only <code>&amp;nbsp;</code> not <code>&lt;br&gt;</code></p>
  
  <pre><code>var docDesc = docDescription.replace(/(&amp;nbsp;)*/g,"");
  var docDesc1 = docDescription.replace(/(&lt;br&gt;)*/g,"");
  </code></pre>