/
/
g
Flags:
Presets:
Test string
Matches highlighted
Matches & groups
Replace
Patterns use JavaScript's regular-expression engine — the same one that runs in browsers and Node. The g flag finds every match; without it, only the first is highlighted. In Replace, $1 to $9 insert numbered groups, $<name> a named group, and $& the whole match. Everything runs on your device.