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