Search & Replace

Quickly find and replace text in content. Supports regular expressions, multi-rule batch replacement, replacement preview, and more.

Find
Replace with
📋 Regex Templates: Digits \d+ Letters [a-zA-Z]+ Words \w+ Whitespace \s+ Email URL IP Address Phone Date HTML Tag Chinese テンプレート変数
📊 試合:0
✅ 差し替え:0
📝 登場人物:0
🔤 言葉:0
📄 行数:0
📋 複数ルールの置換(クリックして展開/折りたたむ)
Click "Add Rule" to create multi-rule replacements
🔎 置換プレビュー 0件の一致
📄 原文
✅ 結果
原文
置換されたテキスト
📌 ライン運用:
Ctrl+H検索と置換  | Ctrl+Z元に戻す  | 入力 Next  |  Shift+Enter Previous

About Search & Replace Tool

Search & Replace is a pure frontend text processing tool that requires no data upload to servers. It helps developers and writers quickly find and replace text content.

Core Features

  • Multiple Search Modes — Case sensitivity, regex, whole word, and multiline modes for flexible searching
  • Three Replace Strategies — Replace next (one-by-one), Replace all (one-click), Multi-rule batch replacement
  • Live Highlighting — All matches highlighted instantly as you type
  • Case Transform — Apply UPPERCASE, lowercase, Capitalize, or camelCase to replacements
  • Replacement Preview List — Lists all match positions with context, click to navigate
  • Multi-Rule Batch — Add multiple search/replace rules and execute them all at once
  • Text Diff Comparison — Side-by-side before/after comparison with diff highlighting
  • 12 Regex Templates — One-click fill for digits, email, URL, IP, phone, and more
  • Import/Export Rules — Save replacement rules as JSON files for reuse
  • Line Operations — Delete or extract lines matching your search
  • Multi-Step Undo — Complete operation history stack with unlimited undo
  • Statistics Dashboard — Real-time display of match count, replacements, character count, word count, and line count

Use Cases

  • Code Refactoring — Batch rename variables and functions with precise regex matching
  • Text Cleanup — Remove extra spaces, unify punctuation, batch edit text
  • Data Cleaning — Extract and replace specific format text data using regex
  • Multi-File Editing — Export rules as JSON and apply them to multiple files
💡 Privacy Guarantee: All data is processed locally in your browser. Text content is never uploaded to any server.