c# split string keep delimiter code example Example: c# split include separators string[] result = Regex.Split("123.456.789", @"(\.)");