c# splitting capital letters into separate words code example Example: split on uppercase c# string[] split = Regex.Split(str, @"(?<!^)(?=[A-Z])");