Find and replace swaps every occurrence of one string for another. This page does that as plain text. It does not compile a regular expression. A period in the find box is a period, not “any character.” Comparison is case-sensitive unless you turn that off. The original paste stays in the first box. The result is written to the second. Nothing is uploaded.
That is a different job from cleanup. Collapsing every run of spaces, or normalizing Windows line breaks, is the Whitespace Cleaner. Using find-and-replace to delete “ ” into “ ” works for one pattern and misses tabs. Use the cleaner when the job is “normalize,” and this page when the job is “this phrase becomes that phrase.”
Empty find is an error. Empty text is an error. Empty replace is allowed and means “delete these matches.” The status reports how many occurrences were replaced. Example uses “The cat sat on the Cat mat.” with find cat and replace dog.
With case-sensitive on, only the lowercase cat is replaced: The dog sat on the Cat mat. One replacement. Turn case-sensitive off and both matches change: The dog sat on the dog mat. Two replacements. The replacement keeps the casing you typed in the replace field. It does not “smart-case” to Cat.
Find: cat
Replace: dog
Case-sensitive: The dog sat on the Cat mat.
$1 is the two characters dollar and one, not a capture.Pasted HTML is text. Replacing script with plain changes letters. It does not run a tag. Quotes and Unicode in the find or replace boxes are ordinary characters.
If the only problem was extra blank lines or mixed spaces, skip this page and use the Whitespace Cleaner. If you needed unique lines after a replace, the Remove Duplicate Lines tool is the next step.
The replacement runs in this browser. A large paste plus a one-character find can produce many replacements; the status count is the check. If the count is zero, the find string is not in the text under the current case rule. Look at spaces and punctuation before you assume the tool failed.
Replace-all is the only mode. There is no “replace next” stepper. If you need to change the first match and leave the rest, do that in an editor with a caret. This page is for the whole-block job: every “colour” becomes “color,” or every leftover environment name is deleted.
No. The find box is a literal string. A dot matches a dot.
Yes. Leave Replace with empty. Every match is removed.
No. Every match is replaced with exactly what you typed in Replace with.
Literal replace is the usual need, and it cannot compile a catastrophic pattern. Use a dedicated editor when you need expressions.