Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex only uppercase letters js

if (value.match(/^[A-Z]*$/)) {
    // matches
} else {
    // doesn't match
}
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #regex #uppercase #letters #js
ADD COMMENT
Topic
Name
1+6 =