private string GetTime(string strDialogue)
{
string strSrtTime;
List<string> lTime = new List<string>();
Regex rx = new Regex(@"\d{1}:\d{2}:\d{2}.\d{2}");
MatchCollection MC = rx.Matches(strDialogue);
foreach (Match m in MC)
{
lTime.Add(m.ToString());
}
strSrtTime = "0" + lTime[0].Replace('.', ',') + "0 --> " + "0" + lTime[1].Replace('.', ',') + "0";
return strSrtTime;
}