If you are using C # 4, you need the following:
string result = string.Join(":", Regex.Matches(start, @"\d{2}").Cast<Match>());
For C # 3 you need to provide string[] for the connection:
string[] digitPairs = Regex.Matches(start, @"\d{2}") .Cast<Match>() .Select(m => m.Value) .ToArray(); string result = string.Join(":", digitPairs);
source share