download.fan

Find and Replace

Find and replace words or phrases in any text, with match case, whole word and regular expression options. See how many were replaced. Free.

Replace text in bulk

Paste your text, type what to find and what to replace it with, and the result updates as you type with a count of replacements. Match case only replaces exact capitalisation; Whole words only stops 'cat' from matching inside 'category'. Turn on Regular expression for patterns: \d+ matches numbers, and groups in brackets can be reused in the replacement as $1, $2 and so on, so (\w+)@example\.com → $1@example.org changes the domain of every address.

How to use it

  1. 1

    Paste your text

    Any length.

  2. 2

    Type find and replace

    Set match case, whole word or regex as needed.

  3. 3

    Copy the result

    Or use it as the new text to make another replacement.

Frequently asked questions

How do I replace text with nothing?

Leave Replace with empty. Every match is deleted.

How do I replace line breaks?

Turn on Regular expression and find \n. Replace with a space to join lines, or use the Remove Line Breaks tool.

What regex syntax is supported?

JavaScript regular expressions, with Unicode support: \d, \w, \s, character classes, groups, alternation and quantifiers.

Is my text sent anywhere?

No. It's processed in your browser, and nothing you type is stored or sent anywhere.

Text tools

Related tools