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

c - ALSA programming: how to stop immediately -

c++ - How to add Crypto++ library to Qt project -