Find & Replace

★★★★★★★★★★4.8(0 votes)

Find and replace text in any document with case-sensitive, whole-word, and regex modes. Live match counter included.

👁 7 views❤ 0 likes⭐ 0 ratings💎 Free Tool

Find & Replace

Rate This Tool

Your rating helps improve ranking, recommendations and quality score.

4.8/50 users rated this tool
★★★★★★★★★★
Click a star to submit your rating

About This Tool

Find & Replace Modes

  • Plain — exact text match
  • Case-sensitive — distinguishes upper and lowercase
  • Whole word — matches whole words only (won't match "cat" inside "category")
  • Regex — full JavaScript regular expression support for advanced patterns

Regex Cheat Sheet

  • \d — any digit
  • \s — any whitespace
  • \w — any word character
  • . — any character
  • + — one or more
  • * — zero or more
  • ^...$ — line start / end
Use capture groups (group) in your search and reference them as $1, $2 in the replace field.

Frequently Asked Questions

What if I need to replace newlines?
Enable Regex mode and use \n for newlines, \t for tabs, \r\n for Windows line endings. You can also normalize all line endings by replacing \r\n|\r with \n.
Can I do case-preserving replacement?
Standard replace doesn't preserve case (Apple → orange becomes 'orange', not 'Orange'). For case-preserving replace, use regex with a function callback in browser dev tools, or post-process the result with a case converter.
How do I escape special regex characters?
Disable the Regex checkbox — plain mode automatically escapes everything. If you need regex but want to match a literal '.' or '$', prefix it with a backslash: \. or \$.