Tools›Developer
›Regex Tester
Regex Tester & Validator
Test regular expressions against text in real-time. See matches highlighted, groups captured, and get match details instantly.
Common Patterns — Click to use
Frequently Asked Questions
What do the flags mean?
g (global): find all matches, not just the first. i: case-insensitive. m: ^ and $ match line start/end. s: dot (.) matches newlines too.
How do I match a literal dot?
Escape it with a backslash: \. — without the backslash, a dot matches any character.
What is a capture group?
Parentheses create capture groups: (\w+)@(\w+) captures the username and domain separately. Groups are shown in match details.