Cari dan Ganti|Opsi
Cari
Ganti dengan
Masukan
e.g. The quick brown fox jumps over the lazy dog
Keluaran
e.g. The quick brown cat jumps over the lazy dog
Karakter: 0
Kata: 0
Kalimat: 0
Paragraf: 0
Baca: < 1m
Bicara: < 1m
Kecocokan: 0
Penggantian: 0

Find and Replace Text Online — Search & Replace with Regex Support

Need to replace a word throughout a document, fix a recurring typo, or perform advanced pattern matching? This free find and replace tool handles simple text replacement and powerful regular expressions right in your browser.

Cara Menggunakan Alat Ini

  1. Paste your textEnter or paste the text you want to search through in the input panel.
  2. Enter search and replacementType the text to find in the Search field and what to replace it with in the Replace field.
  3. Set optionsToggle case sensitivity and regex mode. With regex enabled, you can use patterns like \d+ for numbers or .* for wildcards.
  4. Review and copyThe result appears in the output panel with all replacements applied. Click Copy to use it.
  5. Chain with other toolsWith Auto-fill enabled, your output automatically carries over when you open another tool from the sidebar. Use the back and forward arrows to undo navigation and restore your previous tool state including all options.

Fitur

Simple Text Replacement

Find and replace exact text strings throughout your document. All occurrences are replaced at once.

Regular Expression Support

Enable regex mode for powerful pattern matching: find all numbers, emails, dates, or any text pattern.

Case-Sensitive Matching

Choose whether the search should match the exact case or ignore case differences.

Replace All at Once

Every occurrence of the search term is replaced simultaneously for consistent results.

Instant Preview

See the result of your replacement in real time before copying.

Complete Privacy

All processing happens in your browser. Your text is never sent to any server.

Auto-fill Pipeline

Enable Auto-fill to carry your output to the next tool. Navigate back and forward with full state restoration — input, output, and all settings are preserved.

Kasus Penggunaan Nyata

1

Bulk-convert date formats

Change date formats across an entire document — for example, converting MM/DD/YYYY to YYYY-MM-DD using regex patterns for precise matching.

2

Rename variables across a code snippet

Refactor variable names in a code snippet by replacing all occurrences of the old name with the new one, with case-sensitive matching.

Pertanyaan yang Sering Diajukan

What is a regular expression (regex)?
A regular expression is a pattern that describes a set of strings. For example, \d+ matches one or more digits, [A-Z] matches any uppercase letter, and .* matches any sequence of characters. Regex enables you to find and replace complex patterns, not just exact text.
Is the search case-sensitive by default?
You can toggle case sensitivity on or off. When case-sensitive, "Hello" will not match "hello". When case-insensitive, both will match.
Does it replace all occurrences or just the first?
By default, all occurrences of the search term in the text are replaced. This gives you consistent results across the entire document.
Can I use capture groups in regex?
Yes. When regex mode is enabled, you can use capture groups with parentheses, for example (\w+)@(\w+), and reference them in the replacement with $1, $2, etc.
Can I undo a replacement?
The original text remains in the input panel. If a replacement is not what you expected, simply adjust your search and replace terms and try again.
Is my text private?
Yes. All processing runs in your browser. No data is ever sent to a server.

Alat Terkait

Semua pemrosesan teks terjadi langsung di browser Anda. Teks Anda tidak pernah dikirim ke server mana pun, disimpan, atau dibagikan kepada pihak ketiga. Alat ini sepenuhnya pribadi dan aman.