title: How to pass the second occurrence of a blankspace in regex?
body: <blockquote>
  <p>Duration       : 00:05:48.73</p>
  <p>File Size       61.5M</p>
  </blockquote>
  <p>As you can see the two lines. One of them has a <strong>:</strong> separating the word and the number, the other one has a <strong>blankspace</strong> separating the word and number.
  I need to separate the word from the number for both the cases (for : as well as for blankspace).</p>
  <p>I used String.Split(':') and String.Split(null). While the String.Split(':') worked, and there were only two items in the array, String.Split(null) resulted in the following items in the array: <strong>File, Size, 61.5M</strong>. So three items. I want to make that into two.</p>
  <p>this is the code I'm using:</p>
  <pre><code>private static Regex _regex = new Regex(@&quot;^([\p{L}_ ]+):?(.+)$&quot;);
  Match match = _regex.Match(line);
  if (match.Success)
  {
      string key = match.Groups[1].Captures[0].Value;
      string value = match.Groups[2].Captures[0].Value;
  }
  </code></pre>