separate string by upperCase letters js code example Example: javascript separate words by capital letter "thisIsATrickyOne".split(/(?=[A-Z])/);