all alphabet contained in javascript code example
Example: check for alphabetic string in javascript
function isAlphaOrParen(str) {
return /^[a-zA-Z()]+$/.test(str);
}
function isAlphaOrParen(str) {
return /^[a-zA-Z()]+$/.test(str);
}