title: How to extract exact set of div tag in C# using Regular Expression?
body: <pre><code>&lt;div id="bulletinContents"&gt;
      &lt;div class="headingArea"&gt;
          &lt;div id="heading"&gt;
              Critical Notice Description:&amp;nbsp&lt;br&gt;
              Notice Effective Date:&amp;nbsp&lt;br&gt;
          &lt;/div&gt;
  
          &lt;div id="headingData"&gt;Critical notice&lt;br&gt;
              10/16/2013&lt;br&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;br&gt;
  
      &lt;div id="bulletin"&gt;
          &lt;br&gt;
          &lt;div id="Div1"&gt;Notice Text:&lt;/div&gt;
          &lt;br&gt;
          To notify
          &lt;br&gt;
          &lt;br&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>there are also other <code>&lt;div&gt;</code> tags on the page, but I want to extract this particular section. </p>
  
  <p>Can anyone please suggest me a proper regular expression for this. </p>
  
  <p>I have used this regex:</p>
  
  <pre><code>&lt;div[^&gt;]*&gt;(?&lt;Value&gt;[^&lt;]*(?:(?!&lt;/div)&lt;[^&lt;]*)*)[&lt;/div&gt;]*
  </code></pre>
  
  <p>but it does not give me proper content. It returns only the <code>&lt;div&gt;</code> with id <strong>heading</strong> and <strong>Div1</strong>.</p>
  
  <p>I need to complete this task only by using regular expression and nothing else. Please suggest me proper Regex to do it.</p>