title: Parse javascript value from HTML response in C#
body: <p>I'm actually building an application where by using an HttpClient in .NET 4.5, I send a GET request to a webpage (which isn't mine) and I receive this response in the Content:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:widget="http://www.netvibes.com/ns/"&gt;
  &lt;head&gt;  
  &lt;meta http-equiv="content-type" 
        content="text/html;charset=utf-8" /&gt;
  &lt;script type="text/javascript"&gt;var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);&lt;/script&gt;&lt;title&gt;Site&lt;/title&gt;
  
  &lt;script type="text/javascript"&gt;
  var HOST_DOMAIN = 'http://www.site.com/';
  var ID = '2261443944';
  var BASE_URL = 'https://base.site.com';
  &lt;/script&gt;
  
    &lt;/head&gt;
      &lt;body &gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What I would like to do is somehow Parse the values HOST_DOMAIN, ID and BASE_URL from the js script in the head section using .NET 4.5 libraries, but I can't find how. Any ideas?</p>