Find and Replace Tool

Search for specific words or patterns in your text and replace them.

How to Use Find and Replace Tool

  1. Paste your text into the editor.
  2. Type what to find and what to replace it with. Matches are highlighted and counted.
  3. Set options: Case Sensitive, Whole Words Only or Use Regex.
  4. Click Replace All, or use Check Next and Replace Match to change one match at a time. Copy the full text when done.

Options explained

By default the search ignores capitals, so 'fox' also finds 'Fox'. Case Sensitive makes it exact. Whole Words Only stops 'cat' from matching inside 'category'; it works on English letters and digits, so with other alphabets use regex instead. Text you type to replace with is inserted exactly as written, even if it contains symbols like $.

Check Next moves through the matches one at a time, and Replace Match changes only the current one.

Using regular expressions

Tick Use Regex to search with JavaScript regular expressions. For example, \d+ finds every number, \s{2,} finds runs of two or more spaces, and (\w+)@(\w+) captures two parts of an email address that you can reuse in the replacement as $1 and $2. If a pattern is invalid, an error message explains what's wrong instead of breaking the page.

Key Features & Practical Use Cases

  • Changing a name, product or date throughout a long document before sending it.
  • Cleaning up exported data, like swapping semicolons for commas.
  • Fixing a repeated typo in pasted text.
  • Testing a regular expression against sample text.

Frequently Asked Questions

Can I undo a Replace All?

There's no undo button, so keep a copy of your original text before large replacements.

Does it support regular expressions?

Yes. Tick Use Regex. Capture groups can be used in the replacement as $1, $2 and so on.

Can I replace text with nothing?

Yes. Leave the replace box empty to delete every match.

Is my text uploaded?

No. The search and replace run in your browser.

About OneClickly

OneClickly is a set of 119 free tools for PDFs, images, text, everyday math and code. They run in your browser, so the files and text you work with stay on your device.

Related Tools