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

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -