
07-12-2007
|
| Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 34,421.80 Thanks: 0
Thanked 6 Times in 6 Posts
Rep Power: 405 | | regular expression for password Hi all i have to authenticate usernames and paswordsI ve got a bit stuck and as i actually need this wondered if someone had the glue to piece together what have done so far. I've basically i think set my conditions but i cant after so much messing figure how to link each together but also define a min and max number in string ( 6,12) reg should define str must be between 6 and 12 characters, must include one numeric must include at leaast 4 characters must include at least 1 puncuation character in range !#%$_ So far then^ // begining string ( ([a-zA-Z](4,) // at least 4 of any alphabet ([0-9]+) // at least one of a number ([!#%$_]+) // at least on eof special character ) (6,12) // between 4 and 12 required$ // end stringAny help would be appreciatedRegular To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | |