title: C#: How to use regex to match string '@A=1, @B=2, @C=3, ....."
body: <p>I have a string something like this.</p>
  
  <p>@A1=1,@B1=2,@C1=3,@D2=4123,@D3='asdsd',...</p>
  
  <p>The string length is undefined.</p>
  
  <p>How to use Regex to get the values each variable name?</p>
  
  <p>Expect result is </p>
  
  <p>A1 is 1</p>
  
  <p>B1 is 2</p>
  
  <p>C1 is 3</p>
  
  <p>Here is my initial code, but that seems not working.</p>
  
  <pre><code>Regex exp = new Regex(@"((@[\w]+=('.+'|[\d\.]+),?)+?)+");
  GroupCollection gc = exp.Match(strArg).Groups;
  </code></pre>