Find and Replace
Replace text across a document, with optional regex and case options.
Runs locally · Nothing uploaded
Input text
Result
Result will appear here…Advertisement
About Find and Replace
Performs find-and-replace over your whole input, in plain-text or regular-expression mode. Regex mode supports capture group references like $1 in the replacement, and matching can be made case-insensitive. The match count is reported so you can confirm the operation did what you expected.
Related tools
Text & RegexRuns locally in your browser.Regex TesterTest regular expressions with live match highlighting and group details.Text & RegexRuns locally in your browser.Extract Matching LinesKeep only the lines that contain a substring or match a regex.Text & RegexRuns locally in your browser.Remove Matching LinesDelete every line that contains a substring or matches a regex.