How to use the Regex Tester
- Enter a regex pattern.
- Enter sample text.
- Choose flags and run the test.
- Review matches and groups.
Frequently Asked Questions
Which regex engine is used?
Your browser JavaScript RegExp engine.
Is text uploaded?
No.
Is the Regex Tester free to use?
Yes. It is free, needs no account and has no daily limit.
Is my data uploaded when I use the Regex Tester?
No. It runs in your browser, so what you type or choose stays on your device.
Testing patterns safely
Type a pattern, paste sample text and choose flags such as g for all matches and i to ignore case. Matches and capture groups are listed so you can see exactly what the pattern caught.
This tool uses the JavaScript regular expression engine, so syntax from other languages, such as lookbehind in some older engines, may behave differently. Test with edge cases before using a pattern in production.