ExpertSecurity
Ultra-Strong Password Validator
Write a regex that validates a password between 10 and 24 characters that contains at least one uppercase letter, one lowercase letter, one digit, one symbol, and has no single character repeated three or more times in a row (like 'aaa' or '111').
Need a syntax reminder? Read our detailed guide on the Ultra-Strong Password Validator Regex Pattern.
//
Str0ngP@ssword / Aa1!Aa1!Aa1! / Aaa111!!!Bbcd / short1A! / NOLOWERCASE123! / NoDigitsHere!
Test cases
- Str0ngP@sswordexpect match
- Aa1!Aa1!Aa1!expect match
- Aaa111!!!Bbcdexpect no match
- short1A!expect no match
- alowercase123!expect no match
- NOLOWERCASE123!expect no match
- NoDigitsHere!expect no match
- NoSymbolsHere123expect no match
How to Solve this Regex Challenge
To complete the Ultra-Strong Password Validator challenge, you must write a regular expression pattern that satisfies all specified test cases.
Steps to Complete:
- Analyze the Requirements: Read the description and review the list of test cases below. Identify which strings must be matched (green markers) and which must be rejected (red markers).
- Draft Your Pattern: Enter your regex in the interactive editor. Use the provided Hint button if you get stuck.
- Verify: The test cases panel will update in real-time as you type, showing which strings match your current expression.
- Review the Solution: Once you successfully pass all test cases, review the explanation to understand the logic behind the solution.