I'm writing code to verify if a string that is entered complies with certain 
criteria.

The criteria are

the first four characters must have at least one alphanumeric character and one 
numeric character and the last 4 digits must have the same.

Also, the string cannot have two repeating alphanumeric or numeric characters. 
ex. 'AA'

I've written the first part, but i'm having trouble with the repeating 
characters.

Can anyone point me in the right direction on how I can accomplish this?

Thanks 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289265
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