Developer Utilities

Regex Tester

Test regular expressions with live match highlighting and capture group table.

Browser-onlyInstant outputLocal data
Presets:
Matches:2

Why use this tool

03

Build and test regex patterns with flags, highlighted matches, and capture group inspection.

Regex Tester highlights all matches in real time as you type your pattern.

Capture groups appear in a table below, and preset patterns let you start quickly.

How to use

03
01Enter or choose a preset pattern.
02Set flags (g, i, m, s) as needed.
03Paste test text and see matches highlighted with cycling colors.

Quick checks before you copy

03

Confirm the input is the format you intended.

Scan the result before using it in a document, URL, config, or message.

Copy only the output you need.

FAQ

03
What flags are supported?

g (global), i (case-insensitive), m (multiline), and s (dotAll).

How many matches does it find?

Up to 500 matches per test to keep the UI responsive.

Does it show named capture groups?

It shows numbered capture groups. Named groups are shown by their position.

Related tools

03
Free Regex Tester — Test regular expressions with live match highlighting and capture group table | TOOLGRID