Skip to content

Anchors and boundaries

·

warm-up

The whole thing, not part of it

Match a three-digit code, a hyphen and four more digits — and only when that is the entire input. A sentence containing one is not one.

//

Corpus

Steps0/ 156 · par 52
Every input, what the pattern matched in it, and what each group captured
InputMatchSteps
(empty)3
(empty)3
(empty)3
(empty)3
(empty)3
(empty)3
(empty)3

Trace

Select an input to step through what your pattern did to it.

Cmd-Enter submits too.