[PHP] Re: Regular Expresson for checking password strength

2006-08-04 Thread Al
Adam Zey wrote: Al wrote: James Nunnerley wrote: I want to have a regular expression that check the following criteria are met by $password: - contains at least 6 characters (any) - has at least 1 letter - has at least 1 number - other 6 characters can be anything... I'm happy to work out th

[PHP] Re: Regular Expresson for checking password strength

2006-08-04 Thread Adam Zey
Al wrote: James Nunnerley wrote: I want to have a regular expression that check the following criteria are met by $password: - contains at least 6 characters (any) - has at least 1 letter - has at least 1 number - other 6 characters can be anything... I'm happy to work out the structure of a p

[PHP] Re: Regular Expresson for checking password strength

2006-08-04 Thread Al
James Nunnerley wrote: I want to have a regular expression that check the following criteria are met by $password: - contains at least 6 characters (any) - has at least 1 letter - has at least 1 number - other 6 characters can be anything... I'm happy to work out the structure of a postcode etc