Regex Tester & Debugger
Test and debug regular expressions in real-time. See matches highlighted, capture groups, and detailed explanations.
Match details will appear here.
How to Use
Enter Your Pattern
Type your regular expression in the pattern field. Use standard regex syntax.
Set Flags
Choose flags like global (g), case-insensitive (i), or multiline (m) to modify matching behavior.
Add Test Text
Enter the text you want to test. Matches will be highlighted in real-time.
View Results
See all matches highlighted with detailed information about each match and capture groups.
FAQ
What regex syntax is supported?
This tool uses JavaScript's native RegExp engine. It supports standard regex syntax including character classes, quantifiers, groups, lookahead/lookbehind, and Unicode properties.
What do the flags mean?
g (global): Find all matches. i: Case-insensitive. m (multiline): ^ and $ match line boundaries. s (dotAll): . matches newlines. u (unicode): Enable Unicode features.
How do I use capture groups?
Use parentheses to create groups: (pattern). Named groups use (?<name>pattern). Groups are shown in the match details section.
Is my data secure?
Yes. All regex processing happens in your browser. Your patterns and test strings never leave your device.