Search tools

Search for a command to run...

Find and Replace Text

Find and replace words or phrases across any text, with case-sensitive, whole-word and regular-expression options.

How to use

  1. 1Paste your text and enter what to find and what to replace it with.
  2. 2Adjust the options; the result and number of replacements update live.

Frequently asked questions

Can I use regular expressions?

Yes. Turn on 'Regular expression' to use JavaScript regex syntax, including capture groups like $1 in the replacement.

What does 'Whole words only' do?

It only matches complete words, so replacing 'cat' won't change 'category' or 'concatenate'.

How do I delete every occurrence of a word?

Enter the word in Find and leave Replace empty — every match is removed.