Find and Replace Text
Bulk-transform text using plain-text matching or full JavaScript regular expressions. Add multiple find/replace rule pairs that run in sequence. Toggle case-sensitive matching, whole-word matching, and regex mode. Works on anything from a single paragraph to an entire document or code file. All processing runs in your browser.
Common Use Cases
Rename variables across code — paste a code snippet, find "oldName", replace with "newName", preserving whole-word matching. Update URLs in bulk — migrate from http:// to https://, or swap a domain name across an entire sitemap. Clean up imported data — normalize phone formats, remove extra spaces, or strip unwanted characters using regex. Translate placeholder tokens — replace merge tags like {{name}} with actual values in email templates. Anonymize data — use regex to replace email addresses or phone numbers with placeholders before sharing logs.
Regex Quick Reference
. — any character · * — zero or more · + — one or more · ? — zero or one · \d — digit · \w — word character · \s — whitespace · ^ — start of line · $ — end of line · (group) — capture group · $1, $2 — reference captures in replacement
Frequently Asked Questions
Related Tools
Related ToolRegex Tester →Built by Derek Giordano · Part of Ultimate Design Tools