192
rated 0 times
[
196]
[
4]
/ answers: 1 / hits: 150644
/ 14 Years ago, tue, december 14, 2010, 12:00:00
I want a regex pattern which will allow me any chars, but it will not allow (0-9) numbers?
More From » regex
I want a regex pattern which will allow me any chars, but it will not allow (0-9) numbers?
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.