Yes, I think this will do it: ^[\w]{6,13}$
Check out regexlib.com for all the details. Note the [\w] -- it's where you
specify the characters you want to allow (the "cheat sheet" at regexlib has
the complete list). In this case, \w is a-z, A-Z, underscore, and 0-9.
hth,
Bill
"Mike Moore" wrote:
Is there any way that I can do a max and minmum length
check and use a regular expression for the validation?