输入文本
0 个字符结果
使用方法
基本用法:
- • 在输入框中输入文本
- • 输入要查找的内容
- • 输入替换文本
- • 点击"全部替换"执行替换
- • 将结果复制到剪贴板
高级功能:
- • 区分大小写: 精确匹配字母大小写
- • 全词匹配: 仅匹配完整单词
- • 正则表达式: 使用正则表达式匹配复杂模式
- • 高亮显示: 实时显示匹配项
- • 历史记录: 重复使用之前的查找/替换操作
Editing the same string across a long document by hand is slow and error-prone — you scroll, you miss one instance, you replace something you didn't mean to touch. This tool lets you paste in a block of text, specify what to search for and what to swap it with, and apply every replacement in one pass. It's built for anyone dealing with log files, CSV exports, config files, scraped data, or drafts that need consistent terminology changes, without opening a full code editor or writing a script just to run one substitution.
Beyond plain text matching, the tool supports regular expressions for pattern-based replacements — so you can target things like repeated whitespace, specific number formats, or text that follows a certain structure, not just a fixed word. Case-sensitive matching is available when you need 'Error' and 'error' treated differently, and case-insensitive when you don't. Because replacements run in bulk, every matching occurrence in the input is updated in a single operation rather than one click at a time, and the tool is built to handle large files without choking on them.
All matching and replacing happens locally in your browser — the text you paste never gets uploaded to a server, which matters if you're working with internal logs, unreleased copy, or anything else you'd rather not send over the network. A practical tip: when using regex, test on a short sample first to confirm your pattern matches only what you intend, especially with greedy quantifiers, before running it against a full file.
Replace one or more text patterns across a block of text directly in your browser.
Paste the text you want to edit into the input area, or load it from a file if you're working with a large document.
Type the exact text or regular expression pattern you want to find.
Type the text that should replace each match, or leave it blank to delete matches.
Toggle case-sensitive matching and enable regex mode if your search term is a pattern rather than literal text.
Apply the replacement to update every matching occurrence in the text at once.
Copy the updated text to your clipboard or download it as a file once you're satisfied with the changes.