Could someone please explain me how to write regular expressions to extract the "duration" and "time" from given strings?
Duration: 00:21:38.97, start: 0.000000, bitrate: 2705 kb/s
From the first string I want to extract duration "00:21:38.97"
part.
size= 1547kB time=00:01:38.95 bitrate= 128.1kbits/s
From the second string I want to extract time "00:01:38.95"
part.
I've tried
Regex.Match(theString, @"\:\s([^)]*)\,\s").Groups[1].Value;