Text Find & Replace
Free online text find and replace tool, regex supported
How to Find and Replace Text
Paste your text, enter the search term and replacement, then click Replace All. Enable Case Sensitive to match exact letter casing. Enable Whole Word to avoid partial matches. Enable Use Regex for pattern-based replacements.
Using Regex for Advanced Replacements
With regex enabled, you can use capture groups and backreferences. For example, replace (\w+)@(\w+) with user:$1 domain:$2 to restructure email-like patterns. This enables powerful batch text transformations.
▶Can I use regular expressions for search?
Yes. Enable the Use Regex option to search with regex patterns. You can use capture groups, character classes, quantifiers, and other regex features.
▶Is there an undo option?
The tool shows a preview of replacements. Keep your original text backed up before performing large replacements, as the replace action modifies the text in place.
▶What is whole word matching?
Whole word matching only finds the search term when it appears as a complete word, not as part of a larger word. For example, searching for cat would match cat but not category.