Real-Time Match Highlights
Every match is highlighted inside your test text as you type.
Test JavaScript regular expressions with real-time match highlighting, capture groups, and flag controls.
Test and debug JavaScript regular expressions in real time. Highlight matches, inspect capture groups and check regex syntax. Nothing is sent.
Pattern: \d{4}-\d{2}-\d{2} Flags: g
Text: Shipped 2026-03-14, patched 2026-03-182 matches: 2026-03-14, 2026-03-18Tip: Patterns run with the JavaScript regex engine, so syntax such as lookbehind and named groups works exactly as in Node.js and modern browsers.
Every match is highlighted inside your test text as you type.
Lists each match with its index range, numbered groups and named groups.
Use g, i, m, s, u, y and d flags; invalid or duplicate flags are ignored safely.
Reports unescaped parentheses, invalid ranges and quantifier errors as you type.
Standard ECMAScript / JavaScript RegExp syntax with full modern support (named groups, unicode, lookaheads, lookbehinds).
g finds all matches (global), i ignores letter casing, and m treats ^ and $ as start and end of each line.
Yes. Copy output gives the full match list with positions and groups; Download saves it as a text file.
Never. All RegExp execution runs 100% inside your browser environment.