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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -