Free Writing Tool

Find & Replace Text

Find specific words or phrases in your text and replace them instantly with Wordlity’s free online Find & Replace tool.

It is useful for editing documents, cleaning text, and making repeated text changes.

Words: 0Characters: 0Without spaces: 0

Replacement text is inserted exactly as typed. Leave it empty to delete matches.

Find options

Regex follows JavaScript regular-expression syntax. In the replacement, $1, $2 insert capture groups, $& inserts the whole match, $$ inserts a dollar sign.

Your browser does not support Unicode word boundaries, so basic word boundaries are used. They can be less accurate for Hindi and Arabic.

Replace changes the selected match in your text and jumps to the next one. Replace All writes the new text to the result box and leaves your original text unchanged.

Your text is processed locally in your browser and is not uploaded to a text-processing server.

Highlighted Matches

Result

Replacements: 0Words: 0Characters: 0Without spaces: 0

What Is a Find & Replace Tool?

A Find & Replace tool searches your text for a word, phrase or pattern and swaps it for something else. It saves you from scrolling and editing every occurrence by hand.

How to Use Find & Replace

  1. Paste or type your text in the text box.
  2. Enter the text to find. The match count updates as you type.
  3. Choose options such as Case Sensitive or Whole Word Only.
  4. Press Find Next to move through the matches.
  5. Enter the replacement, then press Replace for one match or Replace All for every match.
  6. Copy or download the result.

Find vs. Replace All

Find Next only locates a match and changes nothing. Replace changes the selected match. Replace All changes every match that fits your options and shows the new text in a separate result box.

What Is Case-Sensitive Search?

With Case Sensitive on, capital and small letters must match exactly, so “Wordlity” and “wordlity” are different terms. With it off, both are found.

What Is Whole-Word Matching?

Whole Word Only matches complete words. Searching for “cat” will find “cat” but not “catalog” or “concatenate”.

What Is Regex Find & Replace?

A regular expression (regex) is a pattern that describes text instead of spelling it out. For example, colou?r matches both “color” and “colour”, and \d+ matches any number. You can also reuse parts of a match: find (\w+) (\w+) and replace with $2 $1 to swap two words.

Benefits of a Find & Replace Tool

It helps you edit long articles, fix a repeated spelling mistake, clean extra characters from text, update a product or brand name everywhere, and prepare documents faster and more consistently.

Frequently Asked Questions