On 11/28/06, Steve Brownlee <[EMAIL PROTECTED]> wrote:
> What engine are you testing with?  Patrick's pattern validates against
> all numeric, all alpha, and mixed against Perl 5, JDK 1.4 and JDK 1.5
> implmenetations.

He's saying "all numeric" isn't valid; there must be at least one letter.

If you want to require at least one number *and at least one letter*
this should work.

/^(?=.*\d)(?=.*[A-Za-z]).{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:261923
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to