Answers for "how to find uppercase character from a string js"

49

uppercase string in js

var str = "Hello World!";
var res = str.toUpperCase();  //HELLO WORLD!
Posted by: Guest on July-30-2020
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 "how to find uppercase character from a string js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language