Developer tool
Regex Tester
Enter a pattern and sample text, then see each match.
Processed in your browser. The text is not sent to our servers.
How to test a regular expression
- Paste the sample text.
- Enter the pattern and any flags you need.
- Click Test pattern and read each match, its position, and any capture groups.
The tester lists up to 100 matches. Each match shows where it starts in the sample. Parentheses in the pattern become numbered groups, and named groups are listed by name.
Frequently asked questions
Which pattern language is this?
The pattern uses the regular expressions built into your browser.
Is the sample text uploaded?
No. Matching runs in your browser.