Regex Tester
Test regular expressions against any text. See matches, groups, and positions.
Paste, drop a file, or .
How to use regex tester
- 1Enter a pattern
In the Options box. Escape special chars — e.g., \d \s.
- 2Set flags
g for all matches, i for case-insensitive, m for multi-line.
- 3Paste test text
We'll list every match with capture groups.
Frequently asked questions
- Which regex dialect?
- JavaScript's RegExp — same as Chrome and Node. Most patterns from other dialects work with minor tweaks.