Answers for "regex accept letters and numbers and capital letter in a word + javascript"

0

regex only uppercase letters js

if (value.match(/^[A-Z]*$/)) {
    // matches
} else {
    // doesn't match
}
Posted by: Guest on October-28-2020

Code answers related to "regex accept letters and numbers and capital letter in a word + javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language