1. Home
  2. Writing & text tools
  3. Find and Replace

Find and Replace

Change a name everywhere in a document, fix a repeated typo or clean up exported data in one step.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Find and Replace

  1. Paste your text.
  2. Enter what to find and what to replace it with.
  3. Copy the updated text.

Features

  • Match case and whole words
  • Regular expressions with groups
  • Highlights matches
  • Replacement count

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Find and Replace is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Guide

Bulk replacements without accidental changes, plus regex recipes

A company changes its name, a product gets renamed, a colleague’s name was misspelled throughout a 20-page draft, or exported data has the wrong date format in every row. Replacing everything by hand is slow and error-prone; replacing everything blindly is risky. This tool shows every match and the full result before anything changes.

The safe workflow

  1. Paste the text into the Text box.
  2. Type what to find. The match count appears immediately, and every match is highlighted in the Matches panel.
  3. Check the matches. Are there any you don’t want to change?
  4. Type the replacement and read the Result panel. Nothing in your original text has changed yet.
  5. Copy the result, or click Replace in text to make it the new working text, for example to run a second replacement.

The original text stays untouched until you press Replace in text, which works as a natural undo point.

Avoiding accidental matches

Most replacement accidents are partial matches:

  • Whole words only. Replacing cat without it also changes category, concatenate and Catalan. With it, only the separate word cat matches. Word boundaries work with accented letters and digits, too.
  • Match case. Off by default, so Acme, ACME and acme all match. Switch it on when capitalization carries meaning, such as a product name versus an ordinary word.
  • Check the count. If you expected 12 replacements and the counter says 31, look at the highlights before continuing.

Chaining replacements

Real clean-up jobs often need several passes, for example renaming a product, then fixing its plural, then removing a trademark sign. After each step, click Replace in text and enter the next search. Each step builds on the previous result.

Regular expressions: recipes

Switch on Regular expression to match patterns instead of fixed text. In the replacement, $1, $2… insert the parts captured in parentheses, and \n and \t insert a line break and a tab.

Task Find Replace with
Swap “Last, First” to “First Last” (\w+), (\w+) $2 $1
Dates 31/12/2026 → 2026-12-31 (\d{2})/(\d{2})/(\d{4}) $3-$2-$1
Remove spaces at line ends [ \t]+$ (with Match case off) (empty)
Collapse double spaces {2,} (one space)
One line per item → comma list \n ,
Comma list → one item per line ,\s* \n
Change an email domain @old\.com\b @new.com

Note that $ only works at line ends in multi-line text if your pattern targets each line, so test recipes on a few lines first. If a pattern is invalid, for example because of an unclosed bracket, the tool shows the error instead of a result. To build and debug more complex patterns, use the Regex Tester.

Good to know

  • The search runs on the text you paste, not on a Word or PDF file directly. Copy the text in, then paste the result back.
  • Your text is remembered in this browser between visits and never uploaded.

Who uses find and replace on text

  • Writers and editors fix a repeated misspelling, change a character’s name, or switch “e-mail” to “email” throughout a manuscript.
  • Office workers update dates, prices or product names in long texts copied from documents.
  • Developers and data workers clean exports, change separators and reformat lists, often with regular expressions.
  • Translators apply consistent terminology across a text.
  • Teachers adapt worksheets by replacing names and numbers.

A complete example: updating a price list in text form

  1. Paste the text.
  2. Find 2025 and replace with 2026, with Whole words only on so 20250 isn’t touched.
  3. Check the number of matches and the highlighted results before applying.
  4. Next, find € and replace with EUR if a system needs plain text.
  5. Copy the final text back.

A complete example: reformatting dates with a regular expression

To turn dates like 2026-10-12 into 12/10/2026:

  1. Switch on Regular expression.
  2. Find (\d{4})-(\d{2})-(\d{2}) and replace with $3/$2/$1.
  3. Check the preview: every date is reordered, and nothing else changes.

Tips

  • Always read the match count first; an unexpected number means the search is too broad.
  • Leave the replacement empty to delete matches, for example to remove a repeated footer line.
  • Test complex patterns in the Regex Tester and compare before and after with the Diff Checker.

Checked against the current version of the Find and Replace on .

Troubleshooting

How do I reuse part of what was found?

Turn on Regular expression, put that part of the pattern in parentheses and use $1, $2 and so on in the replacement. For example, find (.+)@old.com and replace it with [email protected].

Frequently asked questions

How do I stop "cat" from also changing "category"?

Switch on Whole words only. Then only "cat" as a separate word matches, not "category" or "concatenate". Add Match case if "Cat" at the start of a sentence should be left alone.

How do I delete every occurrence of a word?

Put the word in Find and leave "Replace with" empty. Check the result for double spaces left behind; a second pass replacing two spaces with one fixes them.

How do I reuse part of the match in the replacement?

Switch on Regular expression, put the part in parentheses, and refer to it as $1 (the first group), $2 and so on. For example, find (\w+), (\w+) and replace with $2 $1 to turn "Doe, Jane" into "Jane Doe".

Can I replace line breaks?

Yes, with Regular expression on. Find \n and replace with a comma and a space to turn a list into one line, or find a comma and replace with \n to split it again.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.