Answers for "find capital letter in string javascript and split"

1

javascript separate words by capital letter

"thisIsATrickyOne".split(/(?=[A-Z])/);
Posted by: Guest on March-16-2021
0

find capital word in string javascript

const str = "HERE'S AN UPPERCASE PART of the string";
const upperCaseWords = str.match(/(\b[A-Z][A-Z]+|\b[A-Z]\b)/g);

console.log(upperCaseWords);
Posted by: Guest on May-04-2021

Code answers related to "find capital letter in string javascript and split"

Code answers related to "Javascript"

Browse Popular Code Answers by Language