Simply:
/^([^0-9]*)$/
That pattern matches any number of characters that is not 0 through 9.
I recommend checking out http://regexpal.com/. It will let you easily test out a regex.
Simply:
/^([^0-9]*)$/
That pattern matches any number of characters that is not 0 through 9.
I recommend checking out http://regexpal.com/. It will let you easily test out a regex.