Regex Tester
Test regular expressions with flags, match highlighting, capture groups, and detailed match positions.
//g
0 matches
Matches will appear here.
How to use Regex Tester
Enter regex
Type your regular expression pattern in the regex input.
Add test text
Paste the text you want to test your pattern against.
Choose flags
Enable flags like global, ignore case, multiline, or dotAll.
Find matches
Run the regex and view all matches with positions.
FAQ
Frequently asked questions
How does the regex tester work?
Type a pattern and test string; matches highlight live with capture groups listed below.
Does it support flags and lookaheads?
Yes, common flags (g, i, m, s) and JavaScript regex features like lookaheads are supported.
Is the regex tester free?
Yes, it is completely free with unlimited testing.
Which regex flavor is used?
Patterns run on the JavaScript regex engine, matching behavior in browsers and Node.js.
Is my test data uploaded anywhere?
No, all matching runs locally in your browser so your patterns and data stay private.
