Toolcedar

Find and Replace

Replace text across a whole document in your browser. Plain search or regular expressions, with a live count of how many matches were changed.

Enter something to find.

How to use the Find and Replace

  1. Paste your text. Drop in the document you want to change.
  2. Set the search. Enter what to find and what to replace it with.
  3. Check the count. The match count tells you whether the pattern did what you meant.

Frequently asked questions

Is my text sent to a server?
No. The replacement runs entirely in your browser, so it is safe to paste content you would not upload anywhere, including logs and production data.
What regular expression syntax is supported?
JavaScript regular expressions, which cover character classes, quantifiers, groups, lookahead and lookbehind. Capture groups can be referenced in the replacement as $1, $2 and so on.
Why does my regular expression match nothing?
The most common causes are an unescaped special character such as a dot or a bracket, and case sensitivity being left on. Turning case sensitivity off is usually the fastest way to find out which.
Can I replace across line breaks?
Yes, with a regular expression. Plain search treats the text as one string already, and in regex mode the dot does not cross newlines unless you use a class such as square-bracket backslash-s backslash-S.

Last updated