title: Regex find token value in .NET
body: <p>I need some help from someone that is better in Regex than I am :)</p>
  
  <p>I am trying to find the values of specific tokens in a string using .NET (C#)</p>
  
  <p>The string I have has tokens like this one <code>{token:one}</code></p>
  
  <p>The function I have is as follows:</p>
  
  <pre><code>public static ArrayList GetMatches(string szInput)
  {
      // Example string
      // Lorem ipsum {token:me} lala this {token:other} other stuff
      ArrayList aResults = new ArrayList();
      string szPattern = @"(\{token:(*)\})";
  
      foreach (Match match in Regex.Matches(szInput, szPattern))
      {
          aResults.Add(match.Value);
      }
      // It should contain me and other
      return aResults;
  }
  </code></pre>
  
  <p>Any pointers would be more than appreciated.</p>