Text cleanup
Find and replace
Search a paste, swap it, and see how many replacements landed — including an optional regex mode.
Processed in your browser — nothing is uploaded
Pick a font style
Ready for Antakshari?
Ready?
Now sing a song containing or starting with this word!
Words generated: 0
Strength
Find and replace is the cleanup step after a messy export: rename a product, strip a phrase, or rewrite a token with a regular expression. Matches are counted as you type the query.
For space-only problems, Remove whitespace is faster. For structured data, prefer the JSON formatter.
Last reviewed 2026-09-10.
FAQ
Questions, answered
Does find and replace support regex?
Yes. Enable the regex option and use JavaScript regular expression syntax. Invalid patterns show an error instead of wiping your text.
Can I make it case-insensitive?
Case-insensitive is the default for plain search. Turn on “Match case” when you need an exact match.
Is there a limit on size?
Only what your browser will hold in memory. There is no upload quota because nothing is sent.
How do I preview before replacing?
The output pane updates live. Keep split view on so the original stays on the left.
Related
Keep going
Developer tools
Diff checker
Compare two texts online. Side-by-side or unified diffs for lines, words, or characters — in your browser, nothing uploaded.
Developer tools
Regex tester
Test JavaScript regular expressions against a paste, with match lists and highlights.
Text cleanup
Remove whitespace
Collapse extra spaces, trim lines, or strip every whitespace character.