Text Find & Replace
Find and replace text with case-sensitive, whole-word and regular-expression options. See every match highlighted, replace one at a time or all at once, undo changes, and copy or download the result.
Find and replace text with case-sensitive, whole-word and regular-expression options. See every match highlighted, replace one at a time or all at once, undo changes, and copy or download the result.
Text Find & Replace searches any block of text and replaces matches the way you choose. Plain searches can be case-sensitive or limited to whole words, and regular-expression mode supports JavaScript patterns with capture groups such as $1 in the replacement. Every match is highlighted in a safe preview, with a running count, so you can see exactly what will change before you change it.
Matching runs in a separate background worker with a strict two-second limit, so a slow or badly written pattern is stopped with a clear message instead of freezing the page. Your text is never changed when nothing matches, Unicode text (accents, emoji, other scripts) is handled correctly, and each replacement can be undone. Everything happens in your browser and nothing is uploaded.
It only matches your search when it is not part of a longer word, so searching for “art” finds “art” but not “start” or “artist”. Letters and numbers from any language count as word characters.
JavaScript regular expressions, with the g (global) and m (multiline) flags so ^ and $ match at the start and end of each line. Unicode mode (the u flag) is on by default and can be turned off. In the replacement, $1, $2… insert captured groups, $& inserts the whole match and $$ inserts a dollar sign.
Patterns run in a background worker that is stopped after two seconds. You will see a timeout message, your text is left unchanged, and the page stays responsive.
No. If there are no matches, the tool says so and leaves your text exactly as it was.
Line breaks are kept where they are. Browsers store line breaks in text boxes as LF, so the download offers LF or CRLF (Windows) line endings — choose the one your file needs.
No. Searching and replacing happen entirely in your browser, and the text is displayed as plain text, never run as HTML or code.