On 11/28/06, Steve Brownlee <[EMAIL PROTECTED]> wrote:
>
> ^(?=.*[A-Za-z])(?=.*[0-9])(?!.*[^A-Za-z0-9])(?!.*\s).{6,12}$
>
Hmm... I don't think this part is necessary:
"(?!.*[^A-Za-z0-9])(?!.*\s)" No one said anything about
non-alphanumeric characters being disallowed, did they?
If that's what you're going for we can simplify a bit.
^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9]{6,12}$
Patrick
--
Patrick McElhaney
704.560.9117
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261955
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4