I have been searching for regular expression which accepts at least two digits and one special character and minimum password length is 8. So far I have done the following:
Try this : ^.*(?=.{8,15})(?=.*\d)(?=.*\d)[a-zA-Z0-9!@#$%]+$
^.*(?=.{8,15})(?=.*\d)(?=.*\d)[a-zA-Z0-9!@#$%]+$
Please read below link for making password regular expression policy:-
Regex expression for password rules