ClearPaste · Text Tools
Find & Replace
Last updated: August 28, 2026
Paste text, enter what to find and what to replace it with. Toggle regex mode for pattern matching.
How it works
Literal mode finds the exact string, every occurrence. Regex mode treats the find field as a JavaScript regular expression — capture groups like $1 work in the replacement. The result updates as you type.
Use cases
Renaming a variable across a pasted code block. Swapping quote styles. Bulk-cleaning copied content (e.g. strip every "(source: ...)" tag). Regex mode handles everything literal mode cannot.
Related tools
Word & Character Counter Case Converter Remove Duplicate Lines
Frequently asked questions
How do I delete the found text?
Leave the replace field empty.
Regex syntax?
JavaScript regex — same as in the browser console. Escape special characters with a backslash in literal-style patterns.
Is my text uploaded?
No — it never leaves your device.