Regex Tester
Test and debug regular expressions with live match.
/
/
Flags:
Matches:
at index
How It Works
Enter your regular expression pattern and test string. Matches are highlighted in yellow in real time. Toggle flags (global, case-insensitive, multiline) using the buttons. All matching happens in the browser using JavaScript's native RegExp engine.
Frequently Asked Questions
What regex flavor does this use?
JavaScript's native RegExp, which is ECMAScript-compliant. It supports most standard regex syntax including lookaheads, groups, and character classes.
What does the 'g' flag do?
The global flag finds all matches in the string. Without it, only the first match is returned.
