Find & Replace
Find and replace text with support for case sensitivity, whole word matching, and regular expressions.
How to Find and Replace Text
Paste your text into the main input area, enter the search term in the Find field, and type the replacement in the Replace field. Click Replace All to perform the substitution. By default the search is case-insensitive, but you can toggle case sensitivity on for exact matching. Enable the Whole Word option to avoid partial matches inside longer words. For advanced users, the Regex mode lets you use full regular expression syntax including capture groups, character classes, and quantifiers. After replacement, the tool shows the modified text along with a count of how many substitutions were made. Everything runs in your browser so your content stays private.
Using Regular Expressions for Advanced Replacements
Regular expressions give you precise control over pattern matching. For example, use \b\d{3}-\d{4}\b to match phone number fragments, or \s+ to match any sequence of whitespace. In the Replace field you can reference capture groups with $1, $2, and so on. This makes it possible to reformat data, swap word order, strip HTML tags, normalize whitespace, and perform many other complex text transformations that plain find-and-replace cannot handle. If your regex contains a syntax error, the tool will display a clear error message rather than silently failing. Even in regex mode, the replacement count is shown so you can verify the expected number of changes were made.