in rejex match exact string in upper case and camel case and lower case code example Example: regex split a camelcase (?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])