Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js match alphabet

function validAlphabetLetter(letter) {
  return /^[a-zA-Z]$/.test(letter);
}
 
PREVIOUS NEXT
Tagged: #js #match #alphabet
ADD COMMENT
Topic
Name
4+7 =