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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -