Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

extract uppercase words nodejs

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

console.log(upperCaseWords);
Source by www.techighness.com #
 
PREVIOUS NEXT
Tagged: #extract #uppercase #words #nodejs
ADD COMMENT
Topic
Name
1+7 =