title: HTML agility pack - removing unwanted tags without removing content?
body: <p>I've seen a few related questions out here, but they don&rsquo;t exactly talk about the same problem I am facing.</p>
  
  <p>I want to use the <a href="http://html-agility-pack.net/?z=codeplex" rel="noreferrer">HTML Agility Pack</a> to remove unwanted tags from my HTML without losing the content within the tags.</p>
  
  <p>So for instance, in my scenario, I would like to preserve the tags "<code>b</code>", "<code>i</code>" and "<code>u</code>".</p>
  
  <p>And for an input like: </p>
  
  <p><code>&lt;p&gt;my paragraph &lt;div&gt;and my &lt;b&gt;div&lt;/b&gt;&lt;/div&gt; are &lt;i&gt;italic&lt;/i&gt; and &lt;b&gt;bold&lt;/b&gt;&lt;/p&gt;</code></p>
  
  <p>The resulting HTML should be:</p>
  
  <p><code>my paragraph and my &lt;b&gt;div&lt;/b&gt; are &lt;i&gt;italic&lt;/i&gt; and &lt;b&gt;bold&lt;/b&gt;</code></p>
  
  <p>I tried using <code>HtmlNode</code>'s <code>Remove</code> method, but it removes my content too. Any suggestions?</p>