method check if string parameter containes all letters in English alphabet in javascript code example
Example: how to check if a string has only alphabets in javascript
if (!/[^a-zA-Z]/.test(word))
if (!/[^a-zA-Z]/.test(word))