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