Most words survive any capitalization: a reader who sees "Leeds", "leeds" or "LEEDS" understands the same city. But some text is not like that. "Bill" is a person and "bill" is an invoice. "US" is a country and "us" is a pronoun. A reference code with its letters changed is a different code, or no code at all. For those, capitalization is not decoration; it is part of the meaning.

The Find and Replace tool on Ovatly matches case-insensitively by default, and offers a case sensitive option for these situations. This guide explains what the option changes, when it protects your text, and when it quietly works against you.

Contents

  • Quick answer
  • What the case sensitive option actually changes
  • When case carries meaning
  • When it bites: the inconsistent document
  • How to run a case-sensitive replace, step by step
  • Worked example: one sentence, three different counts
  • Limitations and alternatives
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Leave case sensitive off for ordinary prose: the default case-insensitive matching finds a word in every capitalization, which is what general editing needs. Turn it on when capitalization is part of what a text is: codes, identifiers, mixed-case terms, and words whose lowercase form means something else. When you do turn it on, read the replacement count with suspicion. The tool reports exactly how many occurrences it rewrote. A count lower than you expect is a warning. It means the document holds other capitalizations the pass did not touch.

What the case sensitive option actually changes

With the option off, a search treats all capitalizations of a word as the same text. Search for "the" and the tool finds "the", "The" and "THE". It replaces every one of them. With the option on, the search text must match letter for letter, including which letters are capitals: "the" finds only "the".

Nothing else changes. The tool still rewrites every occurrence it matches. It still reports the exact replacement count. And it still honours the other options. Whole word only restricts matches to complete words. Regular expression mode matches patterns, with group references like $1, $2 and $& in the replacement. Case sensitivity is a decision about what counts as the same text. It cuts both ways. It protects occurrences that differ only by case. And it abandons them.

When case carries meaning

Codes and identifiers. Product codes, reference numbers, usernames and file names often treat case as significant. If a document mentions both a code and a similar lowercase word, a case-insensitive pass can merge things that were never the same. A case-sensitive pass on the exact code touches only the real occurrences.

Names that are also ordinary words. Bill and bill, March and march, Apple and apple: English is full of names that are common nouns in lowercase. Editing a document about a person named Bill that also discusses the bills he paid is the classic trap. A case-insensitive replacement of "Bill" with "William" rewrites the invoices too. The replacement count is the only thing that reveals it. The pass reports both words combined. With case sensitive on, the same pass reports only the person's name. The gap between the counts tells you how many matches were the other word.

Mixed-case technical terms. Some terms have a canonical capitalization, such as names written with an internal capital. Normalizing a document to one spelling means finding the wrong capitalizations without disturbing the right ones. That takes a case-sensitive search. You point it at each wrong variant in turn.

When it bites: the inconsistent document

The same strictness fails you when the document itself is sloppy about case, which is most real documents. The word you want appears in several forms. It is capitalized at the start of sentences. It sits in title case in headings. It appears in full capitals in a warning line, and lowercase elsewhere. A case-sensitive search for any one of those forms finds only that form, and reports a small, confident count. The result still contains every other capitalization, untouched.

The defence is the count, used as a comparison rather than a result. Run the search case-insensitively first and note the total. Then run it case-sensitively for each capitalization separately. Check that the separate counts add up to the total. If they do not, a variant exists that you have not accounted for. This is also why the default is safer for names and places. Readers will not care which capitalization a pass used. But they will notice the occurrence that kept the old name.

How to run a case-sensitive replace, step by step

  1. Paste the text into the Find and Replace tool.
  2. Type what to find and what to replace it with. The replacement can be left empty to delete matches instead.
  3. Turn on case sensitive, plus whole word only if the text is short or appears inside longer words; leave regular expression off for fixed text.
  4. Read the match count before copying the result, and compare it with the case-insensitive total if the document might hold other capitalizations.

Worked example: one sentence, three different counts

Start with the tool's own example text, "the cat sat on the mat", and the job of replacing "the" with "a".

With the default settings, case-insensitive, the tool finds both occurrences and reports 2 matches replaced, giving "a cat sat on a mat". Both occurrences changed because the default treats every capitalization as the same word.

Now turn case sensitive on and search for "The" with a capital. The count is 0: the sentence contains no capital "The", and nothing changes. That zero is information, not failure. Finally, keep case sensitive on and search for "the": the count is 2, the same as the default, because this sentence is consistently lowercase.

The three counts together map the document. In a longer text, compare the two counts. A case-insensitive count of, say, 14 against a case-sensitive count of 9 for the lowercase form tells you something. It says 5 occurrences wear some other capitalization. They sit in sentence starts, headings or emphasis. Each of those needs its own decision. The counts are how you learn that before the text leaves your hands, rather than after a reader spots the survivor.

Limitations and alternatives

Case sensitivity is exact, and exactness is all it offers. It cannot know that three capitalizations in a messy document mean the same place. It cannot fix the inconsistency. It can only expose it through the counts. If a document is wildly inconsistent, the honest fix is a case-insensitive pass to normalize it, accepting that case-meaning words then need checking by eye.

Whole word matching uses standard word boundaries. These work best with plain letters and digits. So codes containing punctuation deserve a careful read of the result. Do not trust the count blindly. Regular expression mode goes further for pattern work. An invalid pattern shows a clear error and changes nothing. But it is the wrong instrument for a simple name swap. For a one-line note, editing by hand is faster. The option matters when the text is too long to hold all its capitalizations in your head.

Common mistakes

  • Turning it on for ordinary prose. Sentence starts capitalize the same word you are hunting, so a case-sensitive pass silently leaves those behind.
  • Forgetting the replacement is inserted as typed. If a match sat at the start of a sentence, the replacement keeps the capitalization you typed. That may leave a lowercase word opening a sentence. Read the result, not just the count.
  • Assuming one pass per word is enough. Inconsistent documents hold several capitalizations of the same word; each variant is its own pass.

FAQs

Is case-sensitive matching on by default? No. Case-insensitive matching is the default, which is why the tool's example finds both occurrences of a word without any option being set. Turn on case sensitive only when the exact capitalization is part of what you are looking for.

Why did my case-sensitive search miss some matches? Under this option, text with different capitalization is different text. A word at the start of a sentence, in a heading, or typed in capitals will not match a lowercase search. Run a case-insensitive pass and compare the counts to see how many variants the document contains.

When should I use case-sensitive replace? Use it when capitalization is part of the identity of the text. That covers product and reference codes, identifiers, and mixed-case technical terms. It also covers names whose lowercase form is another word, like Bill the person and bill the invoice.

Can I combine case sensitive with whole word only? Yes. The options are separate controls. So a pass can require exact capitalization and complete words at once. That is the safe setting for short names and codes inside longer words.

Is my text uploaded? No. Searching and replacing happen in your browser on your device.

Conclusion

Case sensitivity is a scalpel, not an upgrade. It narrows a replacement pass to one exact capitalization. That protects codes, identifiers and case-meaning names. It also endangers any edit in a document whose capitalization wanders. The habit that keeps it safe is counting twice. Count once with the default and once with the option on. Then make the numbers explain each other. The Find and Replace tool reports the count for every pass, so the numbers are always there. This option supports an everyday job: swapping values safely through a document. For that job, read How to Swap Names and Places in a Template Letter. You can also browse the rest of the Text and Writing Tools guides for more editing workflows.