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