Find & Replace
Paste any text, enter a search term and a replacement, then apply the change across the whole block. Supports plain text, case-sensitive matching and regular expressions. Everything runs in your browser — no data leaves your device.
How to Use Find & Replace
Paste your text in the top box. Enter the word or phrase you want to find, and what to replace it with. Choose your options and click Replace:
- Case-sensitive — when on, "Hello" and "hello" are treated as different strings.
- Use regex — enables JavaScript regular expressions. For example
\bword\bmatches whole words only. - Replace all — when on, every match is replaced. Uncheck to replace only the first match.
Using Regex in the Find Field
Regular expressions let you match patterns rather than fixed strings. Some examples:
\d+— matches one or more digits.\s+— matches one or more whitespace characters.\bword\b— matches the word "word" as a whole word, not inside other words.(foo|bar)— matches either "foo" or "bar". Use$1in Replace to reinsert the match.
For learning more about regex patterns, see our Regex Tester tool.
Deleting Text with Find & Replace
Leave the Replace field completely empty to delete every occurrence of the search term. This is useful for stripping unwanted tags, removing repeated phrases or cleaning up formatted exports.
Frequently Asked Questions
Can I use regex in the Find field?
Yes. Enable the Regex option and enter a valid JavaScript regular expression. Capture groups work in the Replace field using $1, $2 notation.
Is the find and replace case-sensitive?
By default the match is case-insensitive. Enable the Case-sensitive toggle to make matches respect letter case.
Can I replace only the first occurrence?
Yes. By default all occurrences are replaced. Uncheck "Replace all" to replace only the first match found.
Does the tool support deleting matches?
Yes. Leave the Replace field empty — every match will be deleted from the text.