All tools
Regex Tester
Test a pattern against text, live matches, groups, and flags.
Why this exists
Regex is easy to misread and risky to test against production data in a random web tool. This runs entirely in your browser, highlighting matches and capture groups as you type.
How to use
- Type a pattern and pick flags (g, i, m, s).
- Paste your test text below.
- Matches are highlighted and capture groups (named and numbered) are listed.
//g
Try an example
Pattern with text , pulls out two dates with year/month/day capture groups.