検索・置換

コンテンツ内のテキストをすばやく検索・置換できます。正規表現、複数ルールの一括置換、置換プレビューなどに対応しています。

Find
—/div>
Replace with
📋 Regex Templates: Digits \d+ Letters [a-zA-Z]+ Words \w+ Whitespace \s+ Email URL IP Address Phone Date HTML Tag Chinese テンプレート変数
📊 試合—span class="stat-value match-count" id="matchCount">0
—差し替え—span class="stat-value replaced-count" id="replacedCount">0
📝 登場人物—span class="stat-value" id="charCount">0
🔤 言葉:0
📄 行数—span class="stat-value" id="lineCount">0
📋 複数ルールの置換(クリックして展開/折りたたむ—/span>
Click "Add Rule" to create multi-rule replacements
🔎 置換プレビュ—/span> 0件の一—/span>
📄 原文
—結果
原文
置換されたテキス—/div>
📌 ライン運用:
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.