Guest kumaran Posted March 22, 2006 Share Posted March 22, 2006 hi, I want to know that, how to validate alphabets using regular expression validator in dotnet Link to comment Share on other sites More sharing options...
pulpfiction Posted March 22, 2006 Share Posted March 22, 2006 Hi,Do u want to check if the field has ONLY alphabet, then this is the regex validation<asp:RegularExpressionValidator Runat=server ControlToValidate="txtboxid" ErrorMessage="errmsg" ValidationExpression="^[A-Za-z]*">*</asp:RegularExpressionValidator>HTH Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now