title: Recognize pattern to extract words from C# HTML Encoded String
body: <p>I am looking for some help in recognizing pattern from a string that is HTML Encoded.</p>
  
  <p>If I have an HTML Encoded string like:</p>
  
  <pre><code>string strHTMLText=@"&amp;lt;p&amp;gt;Pellentesque habitant [[@Code1]] morbi tristique senectus [[@Code2]] et netus et malesuada fames ac [[@Code3]] turpis egestas.&amp;lt;/p&amp;gt;"
  </code></pre>
  
  <p>I need to extract the words <em>[[@Code1]], [@Code2], [[@Code3]]</em>, that is dynamic and their count is unknown. These words has been used to substitute other values in the provided HTML Text. </p>
  
  <p>I want to recognize the pattern <strong>[[@<em>something</em>]]</strong> and populate all the occurrence in an array etc, so that I can process these values to fetch the relevant value from the database later.</p>