Regex Tester

Test regular expressions in real time. See matches highlighted in your text, capture groups, and match positions. Common patterns library included.

//g
Flags:

Matches will appear here…

Frequently Asked Questions

What regex flavor does this tool use?

This tool uses JavaScript's built-in RegExp engine, which is the same regex flavor used in Node.js, browsers, and most web applications. It supports flags g (global), i (case insensitive), m (multiline), and s (dotall).

What are capture groups?

Capture groups are portions of a regex pattern enclosed in parentheses (). When a match is found, the tool shows each group's captured text separately, making it easy to extract specific parts of a match.

Does the tool include common regex patterns?

Yes. Click the 'Patterns' button to see a library of common patterns including Email, URL, IP address, phone number, hex color, date, HTML tag, and digits-only patterns.

Is this a good alternative to regex101?

Yes. This tool offers real-time matching, highlighted preview, capture group display, and a common patterns library — all running client-side with a clean, modern UI and no ads.