Quick reference for JavaScript / PCRE-style regular expressions: metacharacters, character classes, quantifiers, anchors, groups, lookarounds, flags and common patterns.
A compact reference for JavaScript regular expressions (most syntax also works in PCRE / Python / Java / Go RE2). Browse by category or use the search box to filter by syntax, description or example. Click any syntax token to copy it. The "Common patterns" section lists ready-to-use regexes for email, URL, phone, IP and date — these are sensible defaults, not RFC-grade validators; tune to your needs.