You could try this...
\b[(\d+|\w+)]{6,12}\b
-----Original Message-----
From: Chris Alvarado [mailto:[EMAIL PROTECTED]
Sent: Monday, November 27, 2006 9:08 AM
To: CF-Talk
Subject: RegEx help
Hello all,
Im a bit rusty with regular expressions and I know this is an easy one
so im kicking myself for not having it that much more.
Im simply trying to ensure that a given string has between 6 and 12
characters and contains at least 1 numeric character.
Any help would be greatly appreciated!
-chris
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:261899
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4