Find and replace text in bulk with regex support and case-sensitive matching. Preview replacements instantly in your browser. Free, no sign-up.
Yes. Put the word in Find and leave Replace with empty. All matching text is removed; surrounding spaces and punctuation stay unless your search also includes them.
Ordinary matching looks for text anywhere, not whole words. Enable Use regex and put "\bcat\b" in Find to match cat at JavaScript word boundaries instead.
Yes. In Use regex mode, parentheses capture parts of a match. Replace with supports JavaScript replacement tokens such as $1 and $2, so you can reuse those parts in a different order.
The tool leaves Result equal to the original Text and reports zero matches. It does not explain the syntax error. Check the pattern in Regex Tester before trying it again.
Find and replace is a fundamental text editing operation that searches for all occurrences of a specific string and replaces them with another. This tool performs the operation instantly with options for case sensitivity and regular expressions.
When working with text outside a code editor — emails, documents, CSV data, or content pasted from websites — you may not have access to a proper find-and-replace function. This tool fills that gap, letting you perform bulk text replacements from any device with a browser.
For advanced users, the regex mode enables pattern-based matching. Replace dates, reformat phone numbers, strip HTML tags, or perform any transformation that regular expressions support. The tool uses JavaScript regex syntax.
Your text is processed in your browser and is not sent to our servers.
Remove duplicate lines with Remove Duplicate Lines. Count words with the Word Counter.
Text: “Acme ships today. ACME ships tomorrow.” Find: “Acme”. Replace with: “Northstar”. With both options off, Result is “Northstar ships today. Northstar ships tomorrow.” The count is 2. With Case sensitive on, only the first spelling changes and the count is 1.
Text: “Due 2026-11-08; review 2026-12-01.” Turn on Use regex. Find: “(\d{4})-(\d{2})-(\d{2})”. Replace with: “$3/$2/$1”. Result is “Due 08/11/2026; review 01/12/2026.” Both dates match. This rearranges characters; it does not check whether a date exists on the calendar.
The tool replaces all matches, including matches across the pasted passage. With Use regex off, search punctuation is treated literally. Replacement text still follows JavaScript replacement-string rules:
inserts the matched text, and $ inserts a literal dollar sign.An empty Find returns the original text. There is no enforced character limit in this page, but large passages or expensive regex patterns can slow the browser because matching runs immediately. Start with a short sample when testing an unfamiliar pattern.
Text, Find and Replace with are used locally for matching; this operation makes no network request. The tool edits plain text only. Pasting from a formatted document does not preserve fonts, tables or tracked changes.
Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools