Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocs
Security
#password
#security
#auth
#validation

Strong Password

Matches a strong password: minimum 8 characters with at least one uppercase letter, one lowercase letter, one digit, and one special character.

User registrationPassword change formsSecurity policy enforcement
/
/
Test String
3 matches
(?=…)Lookahead (?=…)Positive lookahead — asserts the following text matches this pattern (zero-width)
.*.. — matches any character except newline (unless 's' flag is set) — repeated zero or more times (greedy) · * — zero or more times (greedy)
[…]Character class […]Matches any single character listed in this set
(?=…)Lookahead (?=…)Positive lookahead — asserts the following text matches this pattern (zero-width)
.*.. — matches any character except newline (unless 's' flag is set) — repeated zero or more times (greedy) · * — zero or more times (greedy)
[…]Character class […]Matches any single character listed in this set
(?=…)Lookahead (?=…)Positive lookahead — asserts the following text matches this pattern (zero-width)
.*.. — matches any character except newline (unless 's' flag is set) — repeated zero or more times (greedy) · * — zero or more times (greedy)
\ddigit\d — digit (0–9)
(?=…)Lookahead (?=…)Positive lookahead — asserts the following text matches this pattern (zero-width)
.*.. — matches any character except newline (unless 's' flag is set) — repeated zero or more times (greedy) · * — zero or more times (greedy)
[…]Character class […]Matches any single character listed in this set
[…]{8,}Character class […]Matches any single character listed in this set — repeated at least 8 times · {8,} — at least 8 times
A-ZA-ZA-Z — range from 'A' to 'Z'
a-za-za-z — range from 'a' to 'z'
\ddigit\d — digit (0–9)
@@'@' — literal character
$$'$' — literal character
!!'!' — literal character
%%'%' — literal character
**'*' — literal character
??'?' — literal character
&&'&' — literal character
##'#' — literal character
^^'^' — literal character
(('(' — literal character
))')' — literal character
\-\-\- — escaped character
__'_' — literal character
++'+' — literal character
=='=' — literal character
Pattern: 84 charsInput: 35 chars
100% client-side · private

Valid Examples

  • P@ssw0rd
  • Str0ng#Pass!
  • MySecure_P4ss

Invalid Examples

  • password
  • PASSWORD1
  • p@ssword
  • Short1!