Find & Replace
Search and replace text with powerful options including regex patterns, case sensitivity, and whole word matching.
What is Find and Replace?
Find-and-replace is the workhorse text-editing operation: locate every instance of a string or pattern and swap it for something else. The trick is that "every instance" can mean very different things depending on the mode. Plain text matching swaps literal characters. Case-insensitive matching catches both
API and api. Whole-word matching makes sure renaming id to identifier doesn't turn video into videntifier. And regex matching unlocks complex patterns — phone numbers, dates, URLs, code constructs — with capture groups that let you rearrange matched parts in the replacement. This tool runs all four modes locally with a live preview so you can verify matches before committing. Working on prose instead of code? Try the Text Formatter for case conversions and trimming. Need to verify your regex first? Use the Regex Tester.Source Text
Find
Replace with
Use Regex
Case Sensitive
Whole Word
Result
Original Length
0
Modified Length
0
Replacements
0
How to use this tool
- 1Paste your textDrop the source text into the input area. There's no length cap beyond what the browser can hold in memory.
- 2Type the search and replacement stringsEnter what to find on the left and what to replace it with on the right. Toggle regex, case-sensitive, and whole-word as needed.
- 3Preview matches and replaceThe match count updates live and matches are highlighted. Click Replace All to commit, or Copy to grab the result.
