π Utilities
Regex Tester & Explainer
Test regular expressions with live match highlighting and capture group display. Get a plain-English breakdown of what each part of your pattern does β great for learning and debugging.
π Pattern
/
/
gi
Flags:
Quick patterns:
Email
URL
IPv4
Date
Name
Hex color
π Test String
π Regex Quick Reference
Characters
\d Digit (0β9)\w Word char (a-z, A-Z, 0-9, _)\s Whitespace. Any char except newline[abc] Character class[^abc] Negated classQuantifiers
* 0 or more+ 1 or more? 0 or 1 (optional){n,m} Between n and m*? Lazy (minimal match)Anchors
^ Start of string/line$ End of string/line\b Word boundaryGroups
(abc) Capture group(?:abc) Non-capture group(?<name>) Named groupa|b Alternation (a or b)π How to Use This Tool
βΌ
1
Enter a pattern in the regex field
2
Paste test text β matches highlight live
3
View capture groups and values
4
Use the cheatsheet for syntax help
π Examples
Emails
Input: [a-z]+@[a-z]+\.[a-z]+
Output: Highlights all emails in text