Skip to content

Find and Replace

Find and replace words or regex patterns in any text, with match highlighting and a live preview.

About Find and Replace

This find and replace tool works on any text you paste. Type what to find and what to replace it with, and every match is highlighted with a live preview of the result. Turn on match case or whole word for precision, or switch on regex to find patterns and use capture groups in the replacement.

It is useful for bulk replacing names, dates or codes in a document, cleaning data before pasting into Excel or Word, and editing code snippets without an editor. It is free, needs no sign-up, and your text is processed in your browser and never uploaded.

How to use Find and Replace

  1. Paste your text.
  2. Type what to find and what to replace it with.
  3. Turn on regex, match case or whole word if needed — matches are highlighted.
  4. Copy the result or press “Apply” to keep editing it.

Frequently asked questions

Can I use capture groups?

Yes. With “Use regex” on, refer to groups in the replacement as $1, $2 and so on, or

Loading Mishra World…
amp;amp; for the whole match. Example: find (\d+)/(\d+), replace with $2/$1.

What does “Whole word” do?

It only matches the search term when it is not part of a longer word — finding “art” will not match “smart” or “artist”.

Is a dollar sign in the replacement treated specially?

Only in regex mode. In plain mode the replacement text is inserted exactly as typed.

How do I find and replace text online?

Paste your text, type the word to find and its replacement, and copy the result. All matches are replaced at once.

Can I replace multiple occurrences at once?

Yes. Every match in the text is replaced, and the count of matches is shown.

How do I replace using a regular expression?

Turn on regex, type your pattern in Find and use $1, $2 in Replace to insert captured groups.

People also search for

find and replace online · find and replace online free · find and replace · find and replace free · regex replace online · regex replace · search replace online · bulk replace online · bulk find and replace online · string replace online · free search and replace

Related tools