title: C# - Get JavaScript variable value using HTMLAgilityPack
body: <p>I currently have 2 JavaScript variables in which I need to retrieve values from.  The HTML consists of a series of nested DIVs with no id/name attributes.  Is it possible to retrieve the data from these variables using HTMLAgilityPack?  If so how would I go about doing so, if not what would be required, regular expressions?  If the latter, please help me in creating a regular expression that would allow me to do this.  Thank you.</p>
  
  <pre><code>&lt;div style="margin: 12px 0px;" align="left"&gt;
  &lt;script type="text/javascript"&gt;
  variable1 = "var1";
  variable2 = "var2";
  &lt;/script&gt;
  &lt;/div&gt;
  </code></pre>