I want to match a string to make sure it contains only letters.
I\'ve got this and it works just fine:
var onlyLetters = /^[a-zA-Z]*$/.test(myString)
You could aways use a blacklist instead of a whitelist. That way you only remove the characters you do not need.