§ Tool 18 of 23 · Inspect

Patterns, matched live.

Write a regex; type input; see matches highlight in real time. Capture groups list with their indices and names. A small library of common patterns covers email, URL, IP, date, and a dozen others.

Engine
NSRegularExpression
ICU-flavoured
Capture groups
Indexed & named
Listed live
Templates
A library
Email, URL, IP, etc.
Network
Offline
Pure local
DevUtilities Regex Test — pattern, flags, input text, highlighted matches, capture group list.
Plate xviii — Regex Test with capture groups and live highlighting.
§ 01Capabilities

Six things it does cleanly.

i

Live matching

Type the pattern; matches highlight in the input as you write. No "run" button.

ii

Capture groups

Indexed and named groups listed in a side panel — the value of each, per match.

iii

Flags

i case-insensitive, m multiline, s dotall, x extended. Toggle visibly.

iv

Common patterns

A library of templates — email, URL, IP, ISO date, hex color, semver — one click to insert.

v

Match list

Every match listed with its position; click to scroll into view.

vi

Pattern errors inline

Bad regex? The error explains where the parser tripped, in plain language.

§ 02A typical session

Four moves to a working pattern.

Drop input

Paste the text you want to match against.

Paste · ⌘ V

Write the pattern

Type the regex; matches highlight in the input as you go.

Live

Adjust flags

Tick case-insensitive or multiline as needed; the result re-evaluates.

Flags

Read groups

Side panel shows captured groups — indexed and named — for each match.

Groups panel
§ 03Made for these tasks

The work it actually does.

i — Logs

Pulling fields

Extract timestamps, IPs, status codes, paths from log lines with named capture groups.

ii — Validate

Email / URL / IP

Sanity-check user input against well-known patterns from the template library.

iii — Refactor

Find & replace

Verify a regex matches exactly what you intend before running it across a codebase.

iv — Parse

Semi-structured text

Tease structure out of CSVs, free-text notes, or migration scripts.

v — Test

Edge cases

Try the empty string, the multi-line input, the Unicode quirk — without writing a test harness.

vi — Learn

Reading patterns

Visualise what a complex regex actually matches when you inherit one from a colleague.

§ 04Questions, answered

Things people ask before they download.

Which regex flavour?

ICU-flavoured, via NSRegularExpression. The patterns you'd write in Swift, Objective-C, or many command-line tools work directly.

Are named groups supported?

Yes. Named groups list alongside numbered ones; each match's named values appear in the groups panel.

What's in the template library?

Email, URL, IPv4, IPv6, ISO 8601 date, hex color, semver, integer, decimal, phone — and a handful of others.

How does it handle catastrophic backtracking?

The matcher has a sane timeout. Patterns that runaway are flagged so you can refactor; nothing freezes the UI.

Multiline mode?

Toggle the m flag; ^ and $ then anchor per-line. s (dotall) is also available.

Does this require network access?

No. Regex testing is fully local.

§ 05Companion tools

Better with the rest of the shelf.

§ Download

Live matches, named groups, no surprises.

Download — Mac App StoreChangelog