Regex Tester
Test regular expressions with real-time match highlighting and capture group extraction.
/
/
Matches will appear here as you type...
About Regex Tester
Regex Tester is a free online tool for testing JavaScript-compatible regular expressions. Type your pattern and test string to see matches highlighted in real time. Capture groups are extracted and displayed with their index positions.
Supported Flags
- g (global) - Find all matches rather than stopping after the first
- i (case-insensitive) - Match upper and lowercase letters interchangeably
- m (multiline) - Treat beginning (^) and end ($) as working over multiple lines
- s (dotAll) - Allow the dot (.) to match newline characters