title: Remove extra spaces and many tags using String.Replace() method
body: <p>I have a long string containing the <code>&amp;nbsp,&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt; and &lt;br&gt;</code>. I want to clean my string from all these tags and spaces. How it can be done with String.Replace() method. I am doing separately right now, it is working but is there a way to do it at once, without replace() method. </p>
  
  <pre><code>String.Replace("&amp;nbsp;","").Replace("&lt;p&gt;","").Replace("&lt;br&gt;","")
  </code></pre>
  
  <p>It is giving me clean code but I am looking for a general solution, means if I am having more tags (10 to 20) to filter then how to do it efficiently.</p>