Changes

Jump to: navigation, search

Custom Password Policy Examples

157 bytes added, 15:50, 23 September 2013
no edit summary
 
(parseInt('@password@'.match(/[a-z]/g)?1:0) + parseInt('@password@'.match(/[A-Z]/g)?1:0) +
parseInt('@password@'.match(/[0-9]/g)?1:0) + parseInt('@password@'.match(/[^a-zA-Z0-9]/g)?1:0))>=3
* Note: to require only 2 character sets, or all 4 character sets, simply change the integer at the end of the above statement to either 2 or 4 respectively.
==See Also==
0
edits

Navigation menu