← All tools/Utilities/Text/Find and Replace Text
Find and Replace Text
Replace every occurrence of a word or pattern in your text, instantly.
Type or paste text. Replacements update as you type, in your browser.
Replacements
How it works
Matches = every occurrence of the find text (or regex pattern) Replacements = matches found Result = original text with each match swapped for the replacement
Worked example: in “My favourite colour”, finding “colour” and replacing it with “color” gives “My favourite color”, with 1 replacement.
Frequently asked questions
What does whole words do?
It only replaces complete words, so replacing “cat” will not change “catalogue”. Without it, every occurrence inside longer words is replaced too.
How do I use regular expressions?
Turn on the regex option and type a pattern instead of plain text. For example, \d+ matches any number, so replacing it with “#” turns “Order 123” into “Order #”.
What if my regex is invalid?
The tool quietly makes no replacements and leaves your text unchanged. Fix the pattern and the count updates live.
Does $ in the replacement do anything special?
No. The replacement is inserted exactly as typed, so “$10” stays “$10” and is never treated as a pattern.
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.