Hi Adam, thanks for the note. Im trying to make sure that new
users register
to use my web site with an alphanumeric password.
That is, their password must contain letters and numbers.
"Adam Cameron" <adam_junk@hotmail.com> wrote in message
news:5e0tx0nksh9s.54x4xll3pziy.dlg@40tude.net...
> Can you clarify the requirement. Are you after passwords
that are ONLY
> alphanumeric (ie: must only contain a-z and 0-9, but no
other characters),
> or passwords that must have at least some alphanumeric
characters in them
> (so all alpha is no good, nor is all numeric).
>
> The orginal regex matches any character that is not
a-zA-Z0-9, so you have
> your logic around the wrong way. If it DOES return a
match, the pwd has a
> non alpha-numeric character in it.
>
> --
> Adam