09-30-2008, 02:50 AM
1)You can use the len function which will return the length of the string pass the textbox value to this function.
2)
I am not sure whether you can have Special characters like _ etc.The above regex will work
for a text box which contains alphabets and numbers.
Regards
Regards
2)
Code:
objRegExpr.Pattern = "[A-Za-z0-9]{2,}"
I am not sure whether you can have Special characters like _ etc.The above regex will work
for a text box which contains alphabets and numbers.
Regards
Regards