About Find & Replace
The Find & Replace tool lets you search for any word, phrase, or pattern in your text and replace it across every line at once. Supports plain text matching, case-sensitive mode, whole-word matching, and full regular expressions with capture groups.
This tool is faster and more powerful than using a text editor for bulk replacements. It works on any text you paste — lists, logs, code snippets, CSV data, and more.
Regex mode unlocks advanced replacements: use capture groups to rearrange text, use lookaheads to match patterns conditionally, and use back-references to transform matched content. The replacement field supports $1, $2 syntax for captured groups.
All replacements happen instantly in your browser. Your data is never uploaded or stored on a server.
How to Use Find & Replace
Paste your text into the input.
Enter the search term in the Find field.
Enter the replacement text in the Replace field. Leave blank to delete the matched text.
Enable regex mode for advanced pattern matching. Copy the result.
Examples
Frequently Asked Questions
Can I use regex capture groups?
Yes — use $1, $2, etc. in the Replace field to reference capture groups from your regex pattern. For example, find (\w+) (\w+) and replace with $2 $1 to swap two words.
Is it case-sensitive?
Case-insensitive by default. Enable the Case Sensitive toggle for exact case matching.
Can I delete text by replacing it with nothing?
Yes — leave the Replace field empty and all matches will be deleted from the text.
Does it replace all occurrences or just the first one?
It replaces all occurrences throughout the entire text by default.
Can I match whole words only?
Use regex mode with word boundaries: \bword\b matches 'word' as a whole word but not 'sword' or 'words'.
What regex syntax is supported?
Full JavaScript (ECMAScript) regex syntax, including lookaheads (?=...), lookbehinds (?<=...), named groups (?<name>...), character classes, quantifiers, and Unicode.
Can I replace line breaks?
In regex mode, use \n to match newline characters. This lets you join lines or replace line endings with other characters.