Chuyển đến nội dung

Tìm và thay thế văn bản

Chạy các quy tắc tìm-thay thế bằng văn bản thường hoặc regex ngay trong trình duyệt, xem trước văn bản đã đổi, đếm khớp và sao chép hoặc tải kết quả.

Đang tải công cụ...
Tìm và thay thế văn bản

Quick Start

1
Paste the source text.
2
Add one find-and-replace rule per line using find => replace.
3
Review match counts, then copy or download the result.

Common Scenarios

Update repeated URLs, domains, tags, or variable names in copied text.

Apply multiple cleanup rules to template exports or CMS snippets.

Use regex groups when repeated formats need captured values.

Replacement Rules

Rules run from top to bottom, so later rules see earlier replacements.
Plain mode treats the find side literally.
Regex mode treats the find side as a JavaScript regular expression and supports $1-style groups.

Usage Advice

Put narrow rules before broad rules to avoid replacing text too early.
Test regex rules on a small sample before processing large text.
Turn off case sensitivity when copied text uses inconsistent capitalization.

Limitations & Compatibility

This is not a CSV parser, HTML sanitizer, or code refactoring engine.
Invalid regex rules stop processing and keep the original input unchanged.
Browser text limits apply; process huge exports in chunks.

Privacy & Security

Processing happens locally in your browser. Input and rules can be kept as local drafts; generated output is not synced or uploaded by this tool.

FAQ

6

Tiếp tục bước tiếp theo với các công cụ liên quan này.

Toàn bộ quá trình xử lý của công cụ diễn ra cục bộ trong trình duyệt của bạn.