The lab runs on your browser's own ECMAScript RegExp engine — the same one your code will use in production, so what you see is what will ship. Every match is underlined in the test string the moment it exists, listed with its index, and exploded into numbered $1…$n and named <name> capture groups. Flip the g, i, m, s, u flags and the whole picture re-renders. A pattern that stops compiling turns the field red and prints the engine's exact message — no submit button between you and the answer.
/(?<y>\d{4})-(?<m>\d{2})-(?<d>\d{2})/g Released 2024-01-15, patched 2024-02-20.
Released 2024-01-15, patched 2024-02-20. 2 matches · each with <y> <m> <d> spelled out
Use it for building patternsdebuggingformat validationlearning regex