Validate passwords with regex lookaheads for uppercase, digit, and special character.
Constraints
Example
>>> validate_password('Passw0rd!')
True
>>> validate_password('password1!')
False # no uppercase
>>> validate_password('PASSWORD1')
False # no special
>>> validate_password('Passw0rd')
False # too short (7 chars), no special
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints