Regex Tester
Type a regular expression and some test text, and this tester highlights every match in real time, lists each capture group, and lets you toggle flags like global, case-insensitive, and multiline. It runs entirely in your browser — free, instant, and no sign-up.
2 matches
Frequently asked questions
Type your pattern in the regex box and your sample text in the box below it. Matches are highlighted instantly and listed with their capture groups, and you can toggle flags like g, i, m, and s to change how the pattern behaves.
g (global) finds all matches instead of just the first, i makes the match case-insensitive, m (multiline) lets ^ and $ match the start and end of each line, and s (dotall) lets the dot match newline characters.
It uses the JavaScript (ECMAScript) RegExp engine built into your browser, so the same patterns work in JavaScript and TypeScript. Some features from other flavours like PCRE or Python regex may behave differently.
Yes — the tester runs entirely in your browser using the native RegExp engine, so nothing you type is uploaded or stored anywhere.
More free tools
JSON Formatter
Beautify, minify, and validate JSON — nothing leaves your browser.
Try toolBase64 Encode / Decode
Encode text to Base64 or decode it back — right in your browser.
Try toolURL Encode / Decode
Percent-encode text for URLs or decode it back to readable text.
Try toolUUID Generator
Generate random v4 UUIDs — one or many, instantly.
Try toolUnix Timestamp Converter
Convert Unix timestamps to dates and back — in seconds or milliseconds.
Try toolHash Generator
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from any text.
Try toolReady to take control of your subscriptions?
Track every subscription, catch renewals before they hit, and stop paying for what you don't use — no bank connection required.
- No bank connection required
- No credit card to start
- Works in any country & currency
- Reminders before every charge
- One-time pricing, no recurring fee
- 30-day money-back guarantee
