πŸ› οΈ Developer Tools
Β· 2 min read

Free Regex Explainer & Tester


Paste a regex to see what each part means, then test it against your strings.

/ /

Common Regex Patterns

PatternMatches
^\d+$Integers only
^[\w.+-]+@[\w-]+\.[\w.]+$Email addresses
^https?://URLs starting with http/https
^\d{4}-\d{2}-\d{2}$Dates (YYYY-MM-DD)
^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$Hex color codes

Related: Fake Data Generator