Find and Replace Text

Paste your text, type what to find and what to put in its place. The number of matches and the new text update as you type.

Free Runs in your browser Checked Tuesday, November 10, 2026

The text to look for. Spaces count, so the fox finds those two words together.

Leave it empty to delete the matches.

Search as

On: Fox and fox are different words.

Matches inside a longer word are skipped.

Result

Matches found —
Text after replacement

This tool runs in your browser. What you enter is not sent to us.

How to use it

  1. Paste the text in Text.
  2. Type the words to look for in Find, and the new words in Replace with.
  3. Tick Match case or Whole words only if you need them. For a pattern, choose Regular expression under Search as.
  4. Read the Matches found, then copy the Text after replacement.

Plain text or a regular expression

In plain text mode the characters you type are searched exactly, so a full stop or a bracket has no special meaning. In regular expression mode the search is a pattern in the JavaScript flavour, with the Unicode flag: \p{L} matches any letter, \d matches a digit, and $1 in the replacement stands for the first group of the match.

Whole words and letter case

A whole word is a match with no letter, digit or underscore right before or after it. The check knows the letters of other languages, so ç, ğ, ı, İ, ş, ö and ü count as letters. An apostrophe is a boundary: Ankara in Ankara'da is a whole word.

With Match case off, a letter matches its capital and small forms by Unicode's rules. I matches i, but the Turkish capital İ does not match i, and the dotless ı does not match I. For Turkish text that mixes these letters, search for both forms, or turn Match case on.

What this tool does not do

  • It does not check spelling or grammar.
  • It does not remove suffixes. In whole-word mode kitap does not match kitaplar, but without it kitaplar is changed too.
  • A replacement made only of spaces is read as empty, so it deletes the matches.

Worked example: fox becomes cat in the sample

The default sample has the word fox twice, and the word the three times: twice with a capital letter (The) and once in lower case. Find fox with whole words on and the count is 2. Find the with Match case off and the count is 3; with Match case on, only the lower-case the is found, so the count is 1.

Search Matches
fox, replaced with cat, whole words 2
the, Match case off 3
the, Match case on 1

Frequently asked questions

What is the difference between plain text and a regular expression?

Plain text searches the exact characters you type. A regular expression is a pattern: \d+ finds any run of digits, so one search can match many different texts.

Does a whole-word search find Ankara in Ankara'da?

Yes. The apostrophe is a boundary, so Ankara is a whole word in Ankara'da. Suffixes are not split off, so a search for kitap does not find kitaplar in whole-word mode, because the letter l follows it.

How do Turkish capital and small letters behave in a search?

With Match case off, I matches i, but the capital İ does not match i, and ı does not match I. Search for each form separately, or turn Match case on, when the text mixes them.

Is my text sent to a server?

No. The search and the replacement run in your browser, and the text is not stored or sent to our server.

What happens when a regular expression is not valid?

The tool shows the message of the expression engine and no result. Fix the pattern: close a bracket you opened, or put a backslash before a character that has a special meaning.

Sources

Figures and text last checked on Tuesday, November 10, 2026.

We use necessary cookies to run the site. With your consent, Google also uses advertising cookies to show personalised ads. If you reject them, you still see ads, but they are not personalised.