Tools

Find and Replace

Find text and replace it with something else — instantly.

Result

How to Use Find and Replace

Paste your text into the input box. Enter the text you want to find in the Find field and your replacement in the Replace with field. Click Replace All to apply the change to every occurrence, or Replace First to change only the first match.

Options

Case Sensitive

When enabled, "word" will not match "Word" or "WORD". When disabled, all case variations are matched.

Regular Expression (Regex)

When enabled, the Find field is treated as a regular expression. This allows pattern matching — for example, \d+ matches any number, and \s+ matches any whitespace sequence. Useful for advanced text transformations.

Whole Words Only

When enabled, "cat" will not match "cats" or "concatenate" — only the standalone word "cat". Useful when replacing common words that appear as substrings elsewhere.

Common Use Cases

  • Bulk rename variables or terms in a document
  • Remove or replace specific punctuation
  • Standardise inconsistent spelling across a document
  • Strip repeated phrases from copied text

Privacy

All processing runs locally in your browser. No text is sent to a server.

More on TypingTest.now

Frequently Asked Questions

How do I replace a word in my whole text at once?

Paste the text, type the word into the Find field and the new word into Replace with, then click Replace All. Every occurrence changes in one pass and the result appears in the output box. Use Replace First instead if you only want the initial match changed.

How do I use regex in find and replace?

Enable the Regular Expression option and the Find field accepts regex patterns instead of literal text. For example, \d+ matches any run of digits and \s+ matches any whitespace, so you can strip all numbers or normalise spacing in one operation. Capture groups make more advanced restructuring possible too.

How do I replace only whole words?

Turn on the Whole Words Only option. Searching for cat then matches only the standalone word cat, never cats or concatenate. This prevents the classic find-and-replace accident where swapping a short word silently corrupts every longer word that happens to contain it, such as replacing man inside manager.

Curious how fast you type? Take a free typing test and find out.
1-Minute Test →