Regex Tester
Test regular expressions instantly, inspect matches and capture groups, and experiment with JavaScript regex flags.
Regular Expression
Enter your pattern and matching options
Test String
Enter text to test against your regex
Common Patterns
Click any pattern to load it
Match Results
No test performed yet
Pattern Inspector
Current regular expression
Regex Tips
Useful JavaScript regex basics
^ starts at the beginning
$ ends at the end
* matches zero or more
+ matches one or more
? makes a quantifier optional
Test your pattern against custom text and inspect every match, position, and captured group.
Experiment with global, case-insensitive, multiline, dotAll, Unicode, and sticky regex behavior.
Regex processing happens locally in your browser. Your test strings are not uploaded to a server.