Regex Tester
Test regular expressions against sample text.
//
2 match(es)
Live preview
Contact us at hello@example.com or support@example.org
How to use this tool
- 1Enter your regular expression pattern and flags.
- 2Paste sample text into the test area.
- 3Matches are highlighted live as you type.
Frequently asked questions
Which regex flavor is used?
It uses JavaScript's built-in RegExp engine, so ECMAScript regex syntax and flags apply.
What do the flags mean?
Common flags: g (global, all matches), i (case-insensitive), m (multiline), s (dotall).