find alphabetic value in javascript code example
Example 1: js get alphabet as array
const alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
Example 2: check for alphabetic string in javascript
function isAlphaOrParen(str) {
return /^[a-zA-Z()]+$/.test(str);
}