← All tools

Find & Replace Text

Search a block of text and replace every match — literally, or with full JavaScript regular expressions. Supports capture groups ($1, $2, $&, $<name>), case-insensitivity, whole-word matching, and multiline / dot-all flags. Live count and highlighted preview. Runs entirely in your browser.

0 matches

In Literal mode the find string is matched as-is — regex metacharacters (. * + ? ( ) [ ] { } | \ ^ $) are escaped. Switch to Regular expression to use them and capture groups. The replacement string supports $1$9 (numbered groups), $& (whole match), $` / $' (text before/after), and $<name> (named groups). Every match is replaced at once (global). Runs locally — nothing is sent anywhere.