title: Extract groups of numbers inside brackets using RegEx
body: <p>Suppose I have the following text block:</p>
  
  <pre><code>/HDMAreaCoverageValue CIP3BeginPrivate
  /HDMZones &lt;&lt;/HDMInkC [0.000000][0.000002][0.000400][0.006000]
  /HDMInkM [0.006000][0.086000]
  /HDMInkB [0.000000][0.000002][0.000400]
  &gt;&gt; def
  </code></pre>
  
  <p>I'm trying to extract only the numbers inside the brackets - but , with my current pattern, all I get are curly braces as result. I'm currently trying:</p>
  
  <pre><code>Regex ColorValueRegex = new Regex("HDMZones([0-9,]{1,})+&gt;&gt;");
  </code></pre>
  
  <p>What is wrong with this pattern ? What I can see that I'm doing is extract numbers\comma(or dot) from the data I'll provide later.</p>
  
  <p>My code:</p>
  
  <pre><code>   foreach (var data in ValidFiles)
      {
          Regex ColorValueRegex = new Regex("HDMZones([0-9,]{1,})+&gt;&gt;");
          var RegexAux2 = ColorValueRegex.Match(data);
          //HDMZonesNumbers.Add(RegexAux2.Groups[1].ToString().Replace("HDMZones &lt;&lt;/", "").Replace("&lt;&lt;/", "").Replace("/", ""));
          string pattern = @"([\d]+[,.]{0,1})+";
          string NumbersCleaned = Regex.Match(RegexAux2.ToString(), pattern).Value;
      }
  </code></pre>
  
  <p>The commented part is because after extracting I'll add the resulting string into a list.
  I expect to extract a string like:</p>
  
  <pre><code>[0.000000][0.000002][0.000400][0.006000][0.006000][0.086000]
  </code></pre>
  
  <p>I already tried to use many examples provided from StackOverflow but none of 'em did what i need. Before writing this code, I had it working but was inside a mega foreach loop - now I'm treating data individually.
  Any help will be appreciated. Thanks</p>