c# - Regular Expression Validator for number with a length of 5 or 6 only -


i have textbox facultyid should accept 5 or 6 digit number.

i want use regular expression validator validate user input. validation expression should put in? please help.

i'm using asp.net , c#

use validation expression on validator:

validationexpression="\d{5,6}" 

Comments

Popular posts from this blog

winapi - How to get a user input on a MessageBox on C++? -

c++ - How call method from Qt GUI in background worker thread using QThread -