Regex Tester - Free Regular Expression Tool
Test regular expressions with live match highlighting.
Tool Interface
Regex Tester
Test regular expressions against your text with live match highlighting.
How to use
Type a regular expression, toggle flags, and paste your test string. Matches highlight live below, with each match and its capture groups listed. Load sample fills in an email-matching example.
Rate this tool
About This Tool
Frequently Asked Questions (FAQ)
What does the regex tester do?
Type a regular expression and a test string to see matches highlighted instantly, with support for the global, case-insensitive, multiline and dot-all flags.
What are regex flags?
Flags change how the pattern behaves: g finds all matches instead of stopping at the first, i ignores letter case, m makes anchors work per line, and s lets the dot match newlines.
Why is my pattern not matching?
Common causes are unescaped special characters like dots and brackets, wrong flags, or anchors that do not fit the test string. Simplify the pattern and rebuild it piece by piece.
Is my test data private?
Yes. Everything runs locally in your browser. Nothing you type is uploaded or stored anywhere.
Is the regex tester free?
Yes. It is free to use with no signup and no limits.