Write a pattern and test string — matches highlight as you type. Inspect capture groups, switch to replace or split, and read a plain-English breakdown of every token. Nothing leaves your browser.
| # | Match | Line / Range | Groups |
|---|---|---|---|
| {{i+1}} | {{m.text===''? '∅ (empty)' : m.text}} | {{m.lineLabel}}[{{m.start}}–{{m.end}}] | — ${{gi+1}} {{g===undefined?'(none)':g}} {{n.k}} {{n.v===undefined?'(none)':n.v}} |
{{ replaced }}| Index | Chunk | Length |
|---|---|---|
| [{{ i }}] | {{ p === '' ? '∅ (empty string)' : p }} | {{ p.length }} char{{ p.length === 1 ? '' : 's' }} |
{{r[0]}}{{r[1]}}Uses your browser's native RegExp engine, so matches, replace and split behave exactly like they would in JavaScript — the explainer just walks the pattern token by token and describes each one in plain English.
Everything runs locally as you type. Your pattern and test string are never sent anywhere.