Find & Replace in Text
Find and replace text, including a regular-expression mode.
This tool finds every occurrence of a string or pattern in text and replaces it with another string. Plain mode looks for an exact substring, with "case sensitive" and "whole word only" options (so "cat" doesn't get replaced inside "catalog"). Regex mode accepts an arbitrary pattern and flags (g, i, m…) and supports capture groups in the replacement — $1, $2, and so on.
Useful for bulk-editing text without opening a text editor: swap an old domain name for a new one across a whole list of links, reformat phone numbers or dates into a consistent shape using regex groups, or strip or replace stray characters in an export.
Everything runs right in your browser — your text is never sent anywhere. The number of replacements made is shown, or an error message if the pattern is invalid.