Regex Tester
Coming soonTest regular expressions against sample text and see every match.
Tell us this tool matters to you. The tools with the most interest are built first.
What is Regex Tester?
A regex tester lets you write a regular expression and immediately see what it matches in a sample text. Matches and capture groups are highlighted as you type, which makes complex patterns much easier to get right.
Useful for
- Validating formats such as e-mails, dates or phone numbers.
- Extracting values from logs with capture groups.
- Building search-and-replace patterns for your editor.
How to use
- Type the pattern and choose flags such as g, i or m.
- Paste the text you want to test.
- Review the highlighted matches and the list of capture groups.
Examples
Find ISO dates
Pattern: \d{4}-\d{2}-\d{2}
Text: Released on 2026-10-15 and 2026-11-012026-10-15
2026-11-01Frequently asked questions
Which regex flavor does it use?
The JavaScript engine of your browser, so the results match what your JavaScript or TypeScript code will do.
Why does my pattern find only the first match?
Without the g (global) flag, a JavaScript regex stops at the first match. Turn on g to see all of them.
When will this tool be available?
It is on our roadmap. Click "I want this tool" on this page to tell us it matters to you — the tools with the most interest are built first.
Available now
Column to Array
Convert a column of values into a JavaScript, JSON, Python, SQL or CSV list.
JSON Formatter
Format, validate and minify JSON with clear error messages.
UUID Generator
Generate random UUID v4 identifiers, one or in bulk.
JWT Decoder
Decode a JSON Web Token and inspect its header, payload and expiry.