Find & Replace
Find and replace text in any multi-line input. Supports plain text and regular expressions with case-insensitive matching.
Frequently Asked Questions
$1, $2, etc. in the replacement to reference capture groups. For example, find (\w+)\s(\w+) and replace with $2 $1 to swap two words. Named groups use $<name>.^ and $ match the start and end of each line, not just the start and end of the entire string. This is essential when using regex to target line beginnings or endings.How It Works
Enter Find & Replace
Type the search term in the Find field and the replacement in Replace. Paste your content into the text area.
Set Options
Enable Regex mode for pattern matching, toggle case sensitivity, replace-all vs. first match, and multiline flag for anchors.
See Results
The replacement count and modified text appear instantly. Regex capture group backreferences like $1 are fully supported.
Common Use Cases
Bulk Text Editing
Replace a word or phrase across an entire document in one operation. Ideal for updating brand names, product names, or outdated terminology.
Regex-powered Transforms
Use regex to match patterns — like dates in YYYY-MM-DD format — and reformat them using capture group backreferences in the replacement string.
Code Refactoring
Rename a variable or function across a snippet of code. Regex with word boundaries (\b) ensures only whole-word matches are replaced.
CSV & Data Cleanup
Replace delimiters, fix decimal formats, or strip unwanted characters from exported data before importing to another system.
Template Substitution
Replace placeholder tokens like {{name}} or [DATE] in email or document templates with the real values.
HTML & Markdown Editing
Strip or replace HTML tags, convert Markdown syntax, or swap shortcodes without opening a full code editor.