title: Extract string between braces using RegEx, ie {{content}}
body: <p>I am given a string that has place holders in the format of {{some_text}}. I would like to extract this into a collection using C# and believe RegEx is the best way to do this. RegEx is a little over my head but it seems powerful enough to work in this case. Here is my example:</p>
  
  <pre><code>&lt;a title="{{element='title'}}" href="{{url}}"&gt;
  &lt;img border="0" alt="{{element='title'}}" src="{{element='photo' property='src' maxwidth='135'}}" width="135" height="135" /&gt;&lt;/a&gt;
  &lt;span&gt;{{element='h1'}}&lt;/span&gt;
  &lt;span&gt;&lt;strong&gt;{{element='price'}}&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;
  </code></pre>
  
  <p>I would like to end up with something like this:</p>
  
  <p>collection[0] = "element='title'";</p>
  
  <p>collection[1] = "url";</p>
  
  <p>collection[2] = "element='photo' property='src' maxwidth='135'";</p>
  
  <p>collection[3] = "element='h1'";</p>
  
  <p>collection[4] = "element='price'";</p>
  
  <p>Notice that there are no duplicates either, but I do not want to complicate things if it is difficult to do.</p>
  
  <p>I saw this post that does something similar but within brackets:
  <a href="https://stackoverflow.com/questions/1811183/how-to-extract-the-contents-of-square-brackets-in-a-string-of-text-in-c-using-re">How to extract the contents of square brackets in a string of text in c# using Regex</a></p>
  
  <p>My problem here is that I have double braces instead of just one character. How can I do this?</p>