regex camelcase code example Example: regex split a camelcase (?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])