Skip to content
πŸ”

Regex Tester

Developer

Free online regex tester with live match highlighting, capture group display, and pattern explanations. Test regular expressions against any text instantly in your browser.

0
0
Pattern2 matches
//g
Test string
Highlighted
Email Ada at [email protected] or Grace at [email protected] to confirm.
No match: just plain text on this line.
Matches

Quick answers for Regex Tester

What is the Regex Tester?
The Regex Tester is a free online playground for regular expressions. Type a pattern, paste the text to match against, and see matches and capture groups highlighted live with flag support (g, i, m, s, u).
Which regex flavor does the Regex Tester use?
The Regex Tester uses JavaScript (ECMAScript) regex, which is the flavor you ship in a web app, Node.js script, or browser-side code. Named groups, lookbehinds, and unicode property escapes are all supported in modern browsers.
Can I test multiline regex patterns?
Yes. Toggle the m flag to make ^ and $ match line boundaries, or s to let . match newlines. The Regex Tester shows exactly which flags are active.
Does the Regex Tester explain my pattern?
Yes. The Regex Tester breaks down each token in the pattern - anchors, character classes, quantifiers, groups - into plain English so you can verify what it actually matches.
Is my regex and test text private?
Yes. Everything in the Regex Tester runs in your browser. Nothing is sent to any server, so you can test patterns against confidential logs and data.