Regex with ASP.NET validator to allow any text but numbers -


i've tried these 2 expressions:

validationexpression="[^0-9]$" validationexpression="^[^0-9]$" 

but marking cities phoenix , denver having numbers in them. correct expression use here allow text not contain numbers?

^[^0-9]*$

the issue had there matching 1 character. asterisk indicates "0 or more matches".


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -