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
Post a Comment