I have the following codes and I'm not sure if there's a better or easier way of doing it?
Any help appreciated. Thanks!
MatchCollection matches1 = Regex.Matches(txt_description.Value, @"\d{2}:\d{2}:\d{2}");
Match firstMatch1 = matches1[0];
Match firstMatch2 = matches1[1];
Match firstMatch3 = matches1[2];
Match firstMatch4 = matches1[3];
td1.InnerHtml = firstMatch1.Value;
td2.InnerHtml = firstMatch2.Value;
td3.InnerHtml = firstMatch3.Value;
td4.InnerHtml = firstMatch4.Value;