Find and Replace Text

Bulk find-and-replace with case, whole-word and regex control — preview count included.

Find and replace text instantly. Free find-replace with case toggle, whole-word and regex modes — no uploads.

Calculator Inputs

About Find & Replace

Bulk find-and-replace with case, whole-word and regex control — preview count included.

Type the search term and replacement, pick case and whole-word options, or enable regex for patterns like \b\w+@\w+\.\w+\b. The result shows the replaced text and how many hits changed.

Whole-word wraps the pattern in \b boundaries; case-insensitive is the default for prose. Everything runs in your browser.

Where it is used

Renaming terms across docs, fixing typos in bulk, redacting words, and regex-powered transforms.

How to use the Find & Replace

  1. Text — enter the value (e.g. The quick brown fox…).
  2. Find — enter the value (e.g. fox).
  3. Replace With — enter the value (e.g. cat).
  4. Case sensitive — enter the value.
  5. Whole word only — enter the value.
  6. Use regular expression — enter the value.
  7. Calculate — press the Calculate button to see the result instantly above.

Formula

Global replace with escaped or regex pattern, optional whole-word boundaries.

Examples

Example

inputText:The quick brown fox
find:fox
replace:cat
caseSensitive:false
wholeWord:false
useRegex:false
Result: The quick brown cat (1 replacement)

Frequently Asked Questions

Whole word vs substring?
Whole word replaces fox in "fox" but not in "foxes" or "outfox". Substring replaces everywhere.
Regex not working?
Ensure valid regex syntax — unclosed brackets or stray backslashes throw. Test on regex101 first.
Case insensitive by default?
Yes, matching prose expectations. Tick case-sensitive for code and identifiers.