Search and replace across a block of text with a live preview and match count. In plain mode the search text is matched literally and the replacement is inserted as-is. In Regular expression mode you get JavaScript regex syntax and replacement references:

  • $1, $2 … for numbered groups, $<name> for named groups
  • $& for the whole match, $$ for a literal dollar sign

Flags: Match case, Whole word (Unicode-aware, so it works for accented words too), Multiline (^ and $ match at each line), Dot matches newline, and Replace all versus first match only. Turn on Interpret \n \t to insert line breaks or tabs from the replacement field, which is handy for splitting comma-separated values onto separate lines.

Invalid patterns show the regex engine’s error message instead of failing silently. Everything runs in your browser.