Find and Replace Text

Find and replace text with case sensitivity and whole word options

Input Text

Output

About the Find and Replace Text

Find and Replace swaps every occurrence of a word or phrase in a block of text in one step. It is useful when your editor is not open, or when the text lives in an email, a document, or a web form.

Matching options

  • Case sensitive. Off by default, so cat also matches Cat and CAT. Turn it on to match the exact capitalisation.
  • Match whole word only. Matches the term only as a separate word, so cat no longer matches inside concatenate. This works best with English text, because accented letters count as word boundaries.

Literal text, not patterns

The search text is matched exactly as typed, so characters like . * ? and brackets have no special meaning: searching for 3.5 finds 3.5 and nothing else. Every match is replaced, and leaving the replacement empty deletes all matches.

Example

Replacing colour with color, with case sensitivity off:

The colour of the Colour picker

// becomes

The color of the color picker

Several replacements in a row

Apply to Input copies the result back into the input box, so you can run one replacement after another on the same text.

Frequently asked questions

What does the Find and Replace Text tool do?
The Find and Replace Text tool searches for specific text within your input and replaces all occurrences with your replacement text. It supports case-sensitive matching and whole word matching for precise control.
How do I use case-sensitive matching?
Check the 'Case sensitive' option to match text exactly as typed. For example, with case sensitivity enabled, 'World' will not match 'world'. Without it, both will be treated as the same.
What does 'Match whole word only' do?
When enabled, this option only matches complete words. For example, searching for 'cat' will match 'cat' but not 'category' or 'scatter'. This prevents partial word matches.
Can I use this tool for multiple replacements?
The tool replaces all occurrences of the find text in a single operation. If you need different replacements, you can perform multiple find-and-replace operations sequentially by copying the output back to input.