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