Regex Tester
Tests a regular expression against sample text and shows all matches.
Lilu Baba's Regex Tester runs your JavaScript-flavor regular expression against test text and shows every match, using your browser's native regex engine.
How to use this tool
- Enter your regular expression pattern and any flags.
- Paste your test string.
- All matches update instantly.
Match Count
—
FAQ
Regex Tester — frequently asked questions
JavaScript's native regular expression engine — syntax may differ slightly from PCRE, Python or other regex flavors.
An error message describing the syntax problem is shown instead of results.