Developer Tools
Regex Tester
Test a regular expression against sample text.
Matches: 0
No matches found.
Processed locally in your browser.
Your images are processed on this device and never uploaded.
How to use this tool
- Enter a JavaScript regular-expression pattern.
- Set any flags and add the text you want to check.
- Choose Test to view each match and its position in the text.
Common questions
Which regular expressions are supported?
The tester uses JavaScript regular-expression syntax and accepts flags in the flags field.
Why can a pattern time out?
The tool limits pattern and text length and stops expressions that take too long, helping keep the page responsive.