Find and Replace Text Online — Free with Regex Support
Find and replace text online for free. Supports regex, case-sensitive, whole word matching. Live preview, no signup required. For bulk editing.
Find and replace text with support for regular expressions, case sensitivity, and whole-word matching. Process text in bulk.
How to use Find and Replace Text Online — Free with Regex Support
- Paste your text into the input.
- Enter the search term (or regex pattern).
- Enter the replacement text.
- Toggle options: case-sensitive, whole word, regex.
- Copy the result.
Features
- Plain text and regex search.
- Case-sensitive and whole-word options.
- Live preview of replacements.
- Shows match count.
FAQ
How do I use regex for find and replace?
Enable regex mode and use capture groups. For example, search for '(\w+)@(\w+)' and replace with '$1 [at] $2' to obfuscate emails. Use $1, $2, etc. to reference captured groups in the replacement.
Can I replace across multiple lines?
Yes. Enable the 'multiline' regex flag to match across line boundaries. Without regex, the tool replaces text within each line independently. Use \n in the search field to match line breaks in plain text mode.
What is the difference between replace and replaceAll?
In JavaScript, String.replace() replaces only the first match. String.replaceAll() replaces all matches. This tool replaces all matches by default, equivalent to replaceAll().