Regex · Strong password · Free
Strong password regex.
Matches a password of at least 8 characters containing a lowercase letter, an uppercase letter, a digit, and a symbol. Copy the pattern below, see what it matches, then tweak it for your exact case with the free generator.
The pattern
/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\w\s]).{8,}$/
✓ Matches
Sup3r!secretMyP@ssw0rdAb1!abcd✗ Doesn't match
password12345678NoSymbol1Need a variation? Generate one
Other common patterns
Parsing and pattern-matching are everywhere in AI systems. MindloomHQ teaches you to build them for real — agents, RAG, pipelines — with projects and certificates.
Explore MindloomHQ →