Find and Replace
Fix a repeated mistake across a whole document. Nothing is uploaded or stored.
Text
Enter text to find first.
Regular-expression mode. The Find field is now a pattern —
\d+ matches numbers, (cat|dog) matches either word, and the Replace field can use $1, $2 for the groups you captured. Whole-word is off in this mode: write \b yourself if you need it. An invalid pattern shows an error in plain language.
Preview — first 3 replacements
Type text to find and the preview appears here before anything is changed.
How find and replace works
Plain mode. The Find text is matched exactly as typed. Case-sensitive off means "Cat" matches "cat". Whole-word on means "cat" does not match "cats" or "catty".
Replace one. Replaces the next match after the last one, and wraps back to the start when it reaches the end.
Undo. Every Replace one and Replace all can be undone, one step at a time, back to the original text.
Local only. All work happens in your browser. Nothing is uploaded, stored or shared.