Custom Password Policy Examples

Revision as of 10:34, 23 September 2013 by Cameron (talk | contribs) (Created page with ' The password must be composed of a combination of at least three of the following character types: uppercase letters, lowercase letters, numbers and special characters: (pars…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Revision as of 10:34, 23 September 2013 by Cameron (talk | contribs) (Created page with ' The password must be composed of a combination of at least three of the following character types: uppercase letters, lowercase letters, numbers and special characters: (pars…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The password must be composed of a combination of at least three of the following character types: uppercase letters, lowercase letters, numbers and special characters:

(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

See Also