Find and Replace
Find and replace text with support for regular expressions, case-sensitive matching, and whole-word search options.
About This Tool
The Find and Replace tool lets you search for specific text within a document and replace it with new text. It supports plain text matching as well as full regular expression patterns, making it powerful enough for both simple substitutions and advanced text transformations.
Options include case-sensitive matching, whole-word-only matching, and regex mode with full JavaScript regular expression syntax. In regex mode, you can use capture groups and backreferences in your replacement text, enabling sophisticated pattern-based transformations like reformatting dates, extracting data, or restructuring text.
The tool highlights all matches in the original text so you can see exactly what will be replaced before committing the change. A match counter shows the total number of occurrences found. You can replace all matches at once or review and confirm replacements individually. This is an indispensable tool for writers, editors, developers, and anyone who works with text.
Frequently Asked Questions
Related Tools
Text Diff and Compare Tool
Compare two blocks of text side by side and highlight the differences. Find additions, deletions, and changes instantly.
Text and WritingWord Counter and Character Counter
Count words, characters, sentences, and paragraphs in your text. Includes reading time and speaking time estimates.
Text and WritingRemove Duplicate Lines
Remove duplicate lines from your text while preserving the original order. Supports case-sensitive and case-insensitive modes.
Text and WritingCase Converter
Convert text between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case, CONSTANT_CASE, and PascalCase.
Text and Writing