🔄 Regex · Case-insensitive · Instant

Find &
Replace Text

Find and replace any text, word or pattern instantly. Supports regex, case-insensitive search, replace all or first match only.

Replace all occurrences Case insensitive Use regex Multiline Whole word only
Input text
Result

Free Online Find and Replace Text Tool

ExperToolBox's find and replace tool lets you search for any text, word or pattern in your document and replace it with something else — instantly, with no page refresh. Results update in real time as you type. Choose from multiple matching options: replace all occurrences or just the first, case-sensitive or case-insensitive, whole word matching, multiline mode, or full regular expression support.

This tool is perfect for cleaning up exported data, fixing recurring typos across a large document, changing variable names in code snippets, transforming CSV fields, or any bulk text manipulation task.

Using regular expressions for advanced replacements

Enable "Use regex" to unlock powerful pattern-based replacements. For example: find (\w+)\s(\w+) and replace with $2 $1 to swap two words. Find \d{4}-\d{2}-\d{2} to match all dates in YYYY-MM-DD format. The replacement field supports capture group references with $1, $2, etc.

Frequently Asked Questions

How do I use capture groups in the replacement?
Enable "Use regex", then wrap parts of your pattern in parentheses to create groups. Reference them in the replacement field as $1, $2, etc. For example: find (Mr|Mrs|Ms)\.?\s(\w+) and replace with $1. $2 to standardise name formatting.
What does "whole word only" do?
Whole word matching adds word boundary anchors (\b) around your search term so it only matches complete words. For example, searching for "cat" with whole word only would match "cat" but not "category" or "concatenate".
Is there a size limit?
No hard limit. The tool processes text in your browser. For very large documents (hundreds of thousands of characters), processing may take a moment, but there's no maximum size restriction.

Other Free Text Tools