I don\'t know how to create a regular expression in JavaScript or jQuery.
I want to create a regular expression that will check if a string contains only characters
/^[a-zA-Z]+$/
Off the top of my head.
Edit:
Or if you don't like the weird looking literal syntax you can do it like this
new RegExp("^[a-zA-Z]+$");