title: How get text without html tag for a text contained in a known html element
body: <p>I need to retrieve contents(string without html tags) inside the html element <code>&lt;div class='important-contents'&gt;...&lt;/div&gt;</code> from an html string.</p>
  
  <p>Actually I can load all text using the following code.</p>
  
  <pre><code>  string htmlString= "&lt;html&gt;...&lt;/html&gt;";
    Regex regex = new Regex("\\&lt;[^\\&gt;]*\\&gt;");
    return regex.Replace(htmlString, String.Empty); 
  </code></pre>
  
  <p>How do I specify contents inside <code>important-contents</code> class element?</p>