Regex Tester
Don't let Regex intimidate you. Test your patterns against sample text in real-time and see exactly what they match.
//
Test String
Matches (0)
Enter a pattern to test.
Frequently Asked Questions
Which Regex engine is used?
It uses your browser's native JavaScript RegExp engine. This ensures that the patterns you test here will work exactly the same way in your JS code.
What do the flags do?
'g' (global) finds all matches, 'i' (case-insensitive) ignores case, and 'm' (multiline) affects start/end anchors. You can combine them (e.g., 'gim').
Does it support named groups?
Yes, modern browsers support named capture groups (e.g., (?<name>...)), and our tool will display them in the match details.