跳到正文Skip to content

文本查找与替换Find and Replace

查找文本并一次全部替换,显示替换次数,可撤销。Find text and replace every occurrence at once, with match count and undo.

理念:Idea: 一处改,处处改,还能反悔。Change it once, everywhere, and still undo.

解决:Solves: 长文里一次替换全部,还能撤销Replace a word everywhere in one go, with undo

适合:For: 批量改名词、统一用语的人Anyone renaming terms across long text

可用Available在浏览器中运行Runs in your browser
Loading tool…

在你的设备上本地处理。这里输入的内容不会上传。Processed locally on your device. Nothing you enter here is uploaded.

使用方法How to use

  1. 1粘贴文字。Paste your text.
  2. 2填写要找的内容和替换成的内容。Type what to find and what to replace it with.
  3. 3按 Replace all。用 Undo 退回上一步。Press Replace all. Use Undo to step back.

说明Good to know

  • 按字面匹配,. * ? ( ) 这类字符会按原样查找。The search text is matched literally, so characters like . * ? ( ) are found exactly as typed.
  • Whole words only 表示匹配的两侧不能是字母或数字。Whole words only means a match must not be surrounded by letters or digits.
  • 文本去重Remove Duplicate Lines

    删除重复行,保留每行第一次出现的位置。Delete repeated lines and keep the first occurrence of each.

    可用Available文字工具Text
  • 大小写转换Text Case Converter

    在大写、小写、标题格式和句子格式之间转换。Switch text between UPPERCASE, lowercase, Title Case and Sentence case.

    可用Available文字工具Text
  • 文本清理Text Cleaner

    清理多余空格、空行和不可见字符,统一换行符。Remove extra spaces, blank lines and invisible characters, and fix line endings.

    可用Available文字工具Text
  • 文本差异比较Text Diff Checker

    比较两段文本,高亮新增、删除和修改的行与词。Compare two texts and highlight added, removed and modified lines and words.

    可用Available文字工具Text