Regex Tester β Test Regular Expressions
Free regex tester. Write and test regular expressions with live matching and detailed results.
//
π100% Private β Your files never leave your device. All processing runs locally in your browser.
How It Works
Enter a regular expression pattern and flags, type or paste your test string. Matches are listed in real time with their position and value.
The tool uses JavaScript's native RegExp engine. As you type, it continuously tests your pattern against the input, highlighting all matches and showing capture groups. Perfect for debugging patterns before using them in code.
Features
- βLive matching as you type β instant feedback
- βSupports all JavaScript regex flags (g, i, m, s, u, y)
- βMatch list with positions and capture groups
- βError messages for invalid patterns
- βSyntax highlighting in pattern input
- βCopy regex or matches to clipboard
Frequently Asked Questions
JavaScript/ECMAScript regex syntax.