title: Remove HTML formatting in Razor MVC 3
body: <p>I am using MVC 3 and Razor View engine.</p>
  
  <p><strong>What I am trying to do</strong></p>
  
  <p>I am making a blog using MVC 3, I want to remove all HTML formatting tags like <code>&lt;p&gt; &lt;b&gt; &lt;i&gt;</code> etc..</p>
  
  <p>For which I am using the following code. (it does work)</p>
  
  <pre><code> @{
   post.PostContent = post.PostContent.Replace("&lt;p&gt;", " ");   
   post.PostContent = post.PostContent.Replace("&lt;/p&gt;", " ");
   post.PostContent = post.PostContent.Replace("&lt;b&gt;", " ");
   post.PostContent = post.PostContent.Replace("&lt;/b&gt;", " ");
   post.PostContent = post.PostContent.Replace("&lt;i&gt;", " ");
   post.PostContent = post.PostContent.Replace("&lt;/i&gt;", " ");
   }
  </code></pre>
  
  <p>I feel that there definitely has to be a better way to do this. Can anyone please guide me on this.</p>