I have the following regex pattern: (.NET 1.1 Regex Validator)
^(?=.*[A-Za-z])[a-zA-Z0-9@\\-_\\+\\.]{6,32}$
I need to meet the following requirements:
6 to 32 characters
must contain at least one letter.
Allowed characters are
letters (a-z, A-Z)
,
numbers (0-9)
,
@
("at" symbol),
.
(period),
_
(underscore),
+
(plus),
-
(minus).
Any entries starting with numeric values, seem to be 'skipped' until non numeric values are encountered.
123abc
fails
123abcde
fails
123abcdef
passes
So I see that it's 'counting' the look ahead AFTER the numeric values, why?
Thanks.