^(?=.*[A-Z]{1,})(?=.*[a-z]{1,})(?=.*[0-9]{1,})(?=.*[!@#\$%\^&\*()_\+\-={}\[\]\\:;"'<>,./]{1,}).{4,}$
should do it. Explaination:
^
start
(?=.*[A-Z]{1,})
at least one upper
(?=.*[a-z]{1,})
at least one lower
(?=.*[0-9]{1,})
at least one digit
(?=.*[!@#\$%\^&\*()_\+\-={}\[\]\\:;"'<>,./]{1,})
at least one of the mentioned chars
.{4,}
min length 4
$
end
solved Password RegExpression [closed]