8
Answers

Allow only 20 alphabets and numbers in TextBox using regular expression.

Ask a question
zohaib khan

zohaib khan

12y
6.9k
1
Hi,

I have TextBox and I want to add validation using regular expression.

I want to allow only 20 alphabet or number in TextBox.

Example [A-Za-z0-9]{1,20}

Any idea about regular expression.


- Thanks

Answers (8)