title: C# extract string using regular expression
body: <p>I have a html string which i'm parsing which looks like below. I need to get the value of @Footer. </p>
  
  <pre><code>strHTML = "&lt;html&gt;&lt;html&gt;\r\n\r\n&lt;head&gt;\r\n&lt;meta http-equiv=Content-Type 
             content=\"text/html; charset=windows-1252\"&gt;\r\n
             &lt;meta name=Generator content=\"Microsoft Word 14&gt;&lt;/head&gt;&lt;/head&gt;&lt;body&gt; 
             &lt;p&gt;@Footer=CONFIDENTIAL&lt;p&gt;&lt;/body&gt;&lt;/html&gt;"
  </code></pre>
  
  <p>I have tried the below code, how do i get the value?</p>
  
  <pre><code>Regex m = new Regex("@Footer", RegexOptions.Compiled);
  foreach (Match VariableMatch in m.Matches(strHTML.ToString()))
  {
       Console.WriteLine(VariableMatch);
  }
  </code></pre>