How to check if a string contains [a-zA-Z] characters only?
[a-zA-Z]
Example:
var str = \'123z56\';
There is no jquery needed:
var matchedPosition = str.search(/[a-z]/i); if(matchedPosition != -1) { alert('found'); }