Regex Tester
Test a regex pattern against text. Highlight matches and inspect groups.
Pattern Lab
—
Paste text, write regex, and instantly see highlights + captured groups.
JS regex syntax (no surrounding / / needed).
Allowed: g i m s u y d
Highlighted preview
—
Tip: If you expect multiple matches, include g.
Matches
—
Matches will appear here.
Result—
Example: pattern \b\w+@\w+\.\w+\b finds emails
Formula
JavaScript RegExp (global matching)