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