CountKit

Text cleanup / Find and replace

Find and replace text

Replace every occurrence of a word or phrase in a block of text, without opening a word processor. Options cover case-sensitive matching, whole words only, and regular expressions with $1 back-references. The status line shows how many matches were replaced.

clean.txt

How it works

  • Type what to find and what to replace it with; the result updates as you type.
  • Leave "Replace with" empty to delete every match.
  • With regular expressions on, use groups and $1, $2 in the replacement. Use \n to match a line break.

At a glance

Find and replace text
Find and replace words or phrases in text, with match case, whole word and regular expression options. Shows how many matches were replaced.
Price
Free, no sign-up
Works on
Phones, tablets and computers, in a web browser
Your data
Text is processed in your browser and is not uploaded. Your draft is saved only on your device.

Frequently asked questions

How do I delete a word everywhere?

Type it in Find and leave Replace with empty.

What does "whole words only" do?

It skips matches inside longer words, so replacing "cat" will not change "category".

Which regex flavour is used?

JavaScript regular expressions with Unicode support. Invalid patterns show an error instead of changing your text.