All tools

Find and Replace

Search and replace text with optional regex and case control.

Result

Find and Replace Text Online

Search a block of text for a word, phrase, or pattern and swap every match for something else. Toggle case sensitivity, or enable regular expressions for powerful pattern-based replacements.

Features

  • Replaces all matches at once
  • Case-sensitive or case-insensitive search
  • Optional full regular expression support
  • Leave the replacement empty to delete matches

Regex mode

With regular expressions enabled you can match patterns like \d+ for numbers or \s+ for whitespace, and reference capture groups such as $1 in the replacement field.

Literal text vs. regex

In normal mode your search term is treated literally, so special characters like the dot match themselves. In regex mode the search term is a full regular expression, giving you wildcards, character classes, anchors, and capture groups for advanced edits.

100% Private & Processed Locally

All find-and-replace runs in your browser. Your text never leaves your device.

Frequently Asked Questions

Common questions about the Find and Replace.

Does it support regular expressions?
Yes. You can enable regex mode for pattern-based search and replace, including capture groups like $1 in the replacement.
Can I make the search case-insensitive?
Yes. Toggle case sensitivity on or off to control whether matching ignores letter case.
Is my text private?
Yes. All find-and-replace runs in your browser and your text never leaves your device.

More Text Tools

View all tools โ†’
Word CounterCharacter CounterLorem Ipsum GeneratorText ReverserRemove Duplicate LinesSort Text LinesReading Time CalculatorText Repeater
File Transfer