search
lock Free · Private · In-Browser
Regex Tester
Test a JavaScript regular expression against sample text, toggle flags, and inspect every match without sending your text anywhere.
Matches will appear below.
Debug regular expressions quickly
Regex bugs are easier to find when you can see exactly what matched, where it matched, and whether your flags are doing what you expect.
This tester keeps the loop tight for JavaScript patterns used in validation, parsing, cleanup scripts, and quick text analysis.
Frequently Asked Questions
What regex flavor does this use?
It uses the JavaScript RegExp engine built into your browser.
Can I test flags?
Yes. Enter flags like g, i, m, s, u, or y in the flags field.
Is the sample text private?
Yes. Matching happens in your browser and the text is not uploaded.
Take it further
Developer Tools
More lightweight utilities for developers, designers, and technical teams.