Torna al Thread
Regex regex = new Regex("(?<giorno>.{2})(?<mese>.{2})(?<anno>.{4})");
Match match = regex.Match("06102007");
DateTime data = DateTime.Parse(
match.Groups["giorno"].Value + "/" + match.Groups["mese"].Value + "/"+ match.Groups["anno"].Value
);