🔎

Find & Replace

Replace repeated words or phrases at once

Find & Replace — what it does

Paste text, enter what to find and what to replace it with, choose whether case matters, and every occurrence is swapped in one pass. It is the plain, dependable operation you reach for when a word, a name or a piece of boilerplate has to change consistently across a whole document.

When this tool helps

  • Updating a renamed product, client or place name throughout a draft.
  • Swapping placeholder text for real values in a template you reuse.
  • Removing a repeated phrase by replacing it with nothing at all.

How to use it

  1. Paste the text into the input area.
  2. Enter the find text and the replacement.
  3. Set case sensitivity as needed.
  4. Process and copy the result.

Accuracy, limits, and good practice

  • Short search terms match inside longer words — replacing 'art' rewrites 'start' and 'partner' unless you include surrounding spaces.
  • Case-sensitive matching protects proper nouns and acronyms; leave it off when the text mixes capitalisation inconsistently.
  • Work on a copy of important text. Replacement is applied to everything at once and there is no per-occurrence confirmation.
  • Search for the replacement text afterwards to confirm the count you expected: a replacement that hit twice as many places as intended looks fine until someone reads it.

Frequently asked questions

Can I use regular expressions?

This tool matches literal text. For patterns, wildcards and capture groups, use the regex tester to build and verify an expression first.

How do I delete a phrase?

Leave the replacement field empty; every occurrence is removed and the surrounding text closes up.

Does it work on very long documents?

Yes. Processing is local and handles long texts quickly, limited only by browser memory.

Can I replace across line breaks?

Matching works on the text as pasted, so a phrase split across two lines will not match a single-line search term.

Related tools on this site

Everything above runs inside this page. Find & Replace needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

尋找與取代能做什麼

貼上文字、輸入要找的內容與替換內容、選擇是否區分大小寫,所有出現處會一次替換完成。當某個詞、名稱或樣板句需要在整份文件中一致更新時,這就是最樸實可靠的操作。

什麼時候用得上

  • 把改名後的產品、客戶或地名更新到整份草稿。
  • 把重複使用的範本中的佔位文字換成實際內容。
  • 把重複出現的句子替換成空白,等於整批刪除。

使用步驟

  1. 把文字貼進輸入區。
  2. 輸入要尋找的文字與替換文字。
  3. 視需要設定是否區分大小寫。
  4. 執行處理並複製結果。

精確度、限制與實務建議

  • 短字串會命中長字內部——替換 art 會改到 start 與 partner,除非把前後空格納入。
  • 區分大小寫可保護專有名詞與縮寫;文中大小寫本來就不一致時則建議關閉。
  • 重要文字請先備份。替換是一次全套用,沒有逐處確認的機制。
  • 取代後請反過來搜尋替換文字,確認次數是否符合預期:命中兩倍於預期的取代,在有人真的去讀之前都看起來沒事。

常見問題

可以用正規表示式嗎?

本工具只比對字面文字。需要樣式、萬用字元或擷取群組,請先用正規表示式測試工具寫好並驗證。

怎麼刪除一段文字?

把替換欄留空即可,所有出現處都會移除,前後文字自然接上。

很長的文件也能處理嗎?

可以。處理在本機進行、速度很快,只受瀏覽器記憶體限制。

可以跨行取代嗎?

比對針對貼上的原文進行,因此被斷成兩行的句子,用單行搜尋字串是找不到的。

本站相關工具

以上步驟全部在這個頁面內完成,尋找與取代 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。