Regex Tester

Test regular expressions in real-time with pattern explanations and shareable test cases. Perfect for debugging and learning regex patterns.

Pattern
Enter your regular expression pattern and configure flags.
(global)
(ignore case)
(multiline)
(dotAll)
(unicode)
(sticky)
Test String
Enter the text you want to test your regex pattern against.
Match Details
Detailed information about each match and capture groups.

Enter a pattern and test string to see match details.

Pattern Explanation
Understanding your regex pattern

Enter a pattern to see an explanation.

Examples
Common regex patterns to get started
Share
Share your regex test case

Creates a URL with your pattern and test string encoded in the hash. Share it with others or bookmark it for later.