为什么用这个工具
01查找替换在浏览器本地运行,适合快速处理与复制结果。
查找替换适用于日常高频小任务,打开即用。
默认本地处理,便于快速检查与复制结果。
如何使用
02复制前快速检查
03先确认输入格式符合你的预期。
在把结果用于文档、链接、配置或消息前快速扫一眼。
只复制你真正需要的输出。
使用场景
Paste a function or config block and rename a variable in one shot — Case Sensitive ensures you don't touch unrelated lowercase words. Faster than launching an IDE for a quick rename in a Slack thread or doc.
Remove user emails, customer IDs, or API keys before pasting a log into a ticket. Run find-and-replace once per sensitive value with Case Sensitive on, verify the match count drops to zero, then paste safely.
Swap inconsistent column values — "N/A" to empty, full state names to two-letter codes, smart quotes to straight quotes — across thousands of rows in one pass before importing the data.
When migrating docs between platforms (Notion → Markdown, Confluence → GitHub Wiki), use find-and-replace to swap link prefixes, brand names, or version numbers in bulk before exporting.
Replace real company names, project codenames, or person names with placeholders before pasting an internal example into a public forum, Stack Overflow, or a bug report.
使用技巧
- 01Match count is your verification receipt
Before copying the output, glance at the match number. Zero matches usually means a typo or wrong case — not a missing target. Hundreds of matches in a short text usually means your find string is too short and is hitting substrings.
- 02Case Sensitive is on by default for code
Case Sensitive should be ON whenever you're working with code, env keys, or filenames. Turn it OFF for prose where capitalization at the start of sentences should also match (e.g., replacing "colour" with "color" in body text).
- 03Find an exact substring, not a regex pattern
This tool matches plain strings only — no \b word boundaries, no .* wildcards. To find "foo" but not "foobar", make your find string "foo " (with a trailing space) or include surrounding context characters.
- 04Chain edits in a deliberate order
When making multiple replacements, do them one at a time and check the match count after each. Doing them out of order can corrupt earlier edits — for example, replacing "old" with "new" first then "new" with "latest" turns every original "old" into "latest".
常见问题
04这个工具会上传数据吗?
默认在浏览器本地处理。