How to Find and Replace Text
Enter the source text, search text, and replacement text, select the desired case behavior, and run the operation. You receive revised text together with a count based on the selected matching mode.
Understand the replacement task
Text Replacer helps when you need to change one piece of text throughout content you provide. It searches for literal characters rather than interpreting the search as a regular-expression pattern, which makes the tool suitable for straightforward wording, label, or capitalization changes. Matching ignores letter case by default, while an optional case-sensitive setting lets capitalization affect which occurrences are selected. The result gives you revised text and a replacement count, so you can inspect both the changed content and the reported number before using it elsewhere.
This approach is useful for editing a short passage, standardizing a repeated label, or changing a term that appears in several places. Decide first whether capitalization should matter, then enter the search characters as they should be found. If the replacement field is left empty, matching text is removed rather than exchanged for new characters.
Run a controlled text replacement
- Place the content you want to edit in the text field. You can type or paste the material, such as a paragraph, list, or set of labels.
- Enter the characters to locate in the search field. Since the search is literal, type the text itself instead of punctuation intended to represent a pattern.
- Enter the new characters in the replacement field. Leave that field empty when the matching text should be removed.
- Choose the case-sensitive setting according to the result you need. With the setting disabled, uppercase and lowercase versions are treated as matching; with it enabled, their letter case must correspond.
- Run the operation, then inspect the returned text and the replacement count. Compare the revised wording with your intended change before copying it into another document.
These fields are optional. Their defaults are empty text, empty search text, empty replacement text, and case-insensitive matching. When the supplied text is empty or omitted, the result stays empty and the count is zero. When text is present but the search field is empty or omitted, the input remains unchanged and the count is zero. Those two conditions are useful checks when a blank field was intentional rather than accidental.
Interpret the returned text
Read the returned text as the edited version of the content you supplied. Matching occurrences are replaced according to the selected case mode, and the count describes occurrences found under that mode. A case-insensitive run can therefore include letter-case variants, whereas a case-sensitive run distinguishes them.
The search field does not accept regular-expression instructions or another pattern language. Characters such as parentheses, brackets, periods, or asterisks are searched as literal text when they are entered. An empty search field has a boundary behavior rather than an insertion behavior: with input present, it changes nothing and reports zero replacements. Empty supplied text also remains empty, even if other fields contain values.
Returned information can echo the search and replacement values, but each echoed value may show no more than its first 50 characters. For a long phrase, use the returned edited text and count as the main checks, rather than expecting the full field values in that supporting information. If the count differs from your expectation, revisit capitalization, spaces, punctuation, and whether the search field contains visible characters.
Worked example
A user wants both capitalization forms of a word changed while preparing a short piece of text.
Use the input text “Blue blue”, search for “blue”, enter “green” as the replacement, leave case-sensitive matching disabled, and run the operation.
The returned text has matching occurrences changed to the replacement value, and the result includes a replacement count based on case-insensitive matching. The returned text is “green green” and the replacement count is 2.
Limitations
- Searches use literal text rather than regular-expression patterns, and echoed search or replacement values may contain only their first 50 characters.
Common errors
- If a differently capitalized occurrence is not changed, case-sensitive matching may be selected. Disable that setting to ignore letter case, or retain it and enter the capitalization that should qualify.
FAQ
Does Text Replacer ignore capitalization?
When case-sensitive matching is disabled, capitalization does not distinguish matches. When it is enabled, uppercase and lowercase letters are compared as entered.
Can I use regular expressions for the search?
No. The search value is handled as literal text, so regular-expression syntax does not define the matches.
What happens when the search field is empty?
When input text is present and the search value is empty or omitted, the supplied text is returned unchanged and the replacement count is zero.