Find And Replace Text
Paste your text, enter a search term (or regex), type a replacement, and instantly see the result with a match count.
Search & Replace
Matches found
0
Copied!
Summary
Paste your text, enter a search term (or regex), type a replacement, and instantly see the result with a match count.
How it works
- Paste or type your source text into the input area.
- Enter the word or phrase you want to find in the Find field.
- Type the replacement text (leave empty to delete matches).
- Toggle Regex mode to use regular expression patterns.
- Toggle Case Sensitive to control case matching.
- The output updates live and shows how many replacements were made.
Use cases
- Bulk rename variables across a code snippet
- Swap out a brand name or keyword across a document
- Strip or replace unwanted characters with regex patterns
- Delete all occurrences of a phrase by leaving replacement empty
- Case-insensitive replacement for spell-check corrections
- Preview regex substitution results before applying to a file
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu