title: Extract values between two specific html tag id-s in c# with linq or regex
body: <p>I need little help about how to extract some data between html tags.</p>
  
  <p>i have the following html code</p>
  
  <pre><code>&lt;select class="fields_search" onchange="document.location.href=this.value"name="someTextHere"&gt;                                               
     &lt;option value='http://www.google.com' selected='selected'&gt;Google&lt;/option&gt;
     &lt;option value='http://www.bing.com'&gt;Bing&lt;/option&gt;
     &lt;option value='http://www.yahoo.com'&gt;Yahoo&lt;/option&gt;                  
   &lt;/select&gt;
  
  &lt;option value="/city"&gt;choose city&lt;/option&gt;
  </code></pre>
  
  <p>I want to extract only part between   because i need links and their description.
  I have tried this Linq code:</p>
  
  <pre><code>var values = document.DocumentNode.Descendants("option") 
      .Select(n =&gt; new
          {
              Value = n.Attributes["value"].Value,
              Text = n.InnerText,
          })
      .ToList(); 
  </code></pre>
  
  <p>With that code i get all the links and their values but i also get the option value that is beneath closing tag 
  This code will return ALL option values on entire web site. I don't want that. I only want option values that are in specific html tag.</p>
  
  <p>How can i get something like this </p>
  
  <pre><code>var valuesBetweenTags = some code here  Linq or RegEx
  </code></pre>
  
  <p>and then</p>
  
  <pre><code>var valuesBetweenTags = document.DocumentNode.Descendants("option") 
      .Select(n =&gt; new
          {
              value = n.Attributes["value"].Value,
              Text = n.InnerText,
          })
      .ToList(); 
  </code></pre>
  
  <p>Note that i am trying this in Win8 StoreApp. In Win8 Store Apps there is no Html Agility Pack. WinRT doesn't support XPATH.</p>