Find & Replace
Find and replace text with advanced options.
📘 How It Works
Pattern Construction
The search term is converted to a regular expression. Special regex characters are escaped unless 'Use regex' is enabled. The global flag ensures all matches are found.
Case Sensitivity
When case-insensitive, the regex uses the 'i' flag. 'Hello' will match 'hello', 'HELLO', and any mixed case variation.
Whole Word Matching
Word boundaries (\b) are added around the pattern when 'Whole word' is checked. This prevents partial matches like 'cat' in 'category'.
Global Replacement
JavaScript's replace() with global regex replaces ALL occurrences in one pass. The replacement count is shown for verification.
Regex Power Features
With regex enabled, use capture groups, alternation, quantifiers, and other pattern features. Replacement text can use $1, $2 for captured groups.
💡 Common Use Cases
Bulk Text Editing
Replace consistent terminology throughout documents. Change company names, product names, or terminology in one operation.
Code Refactoring
Rename variables, functions, or classes across code files. Use whole-word matching to avoid partial replacements.
Data Cleaning
Standardize formats, fix typos, or convert date formats in bulk. Use regex for pattern-based replacements.
Template Processing
Replace placeholder variables like {{name}} with actual values when generating personalized content.
Format Conversion
Convert between formats: mm/dd/yyyy to yyyy-mm-dd, straight quotes to curly quotes, or tabs to spaces.
Privacy Redaction
Replace sensitive information (emails, phone numbers) with redacted versions using regex patterns.