Find and Replace
Replace text literally or with a regular expression, with case-sensitive and whole-word options. Nothing leaves the page.
Literal and regular-expression replacement
The find box is literal by default: a full stop matches a full stop, not any character, which is the mistake a raw regular expression invites. Switch the regular-expression option on and the box is compiled as one, with the group syntax it supports and a clear failure if the pattern is malformed. Whole-word mode wraps the literal in word boundaries, so replacing cat does not touch concatenate, and every replacement happens in a single pass over what you pasted.
How to use it
Find and Replace: paste the text into the box above, set Find (default "The"), Replace with (default "A"), Treat the find box as a regular expression (default "no"), Match case (default "yes") and Whole words only (default "no"), and press Run to get the replaced text below.
Worked example
Input:
The quick brown fox jumps over the lazy dog. The dog sleeps.
Output:
A quick brown fox jumps over the lazy dog. A dog sleeps.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns replaced text; reloading the page discards both.
The find box is literal by default: a full stop matches a full stop, not any character, which is the mistake a raw regular expression invites. Switch the regular-expression option on and the box is compiled as one, with the group syntax it supports and a clear failure if the pattern is malformed. Whole-word mode wraps the literal in word boundaries, so replacing cat does not touch concatenate, and every replacement happens in a single pass over what you pasted.
Replace text literally or with a regular expression, with case-sensitive and whole-word options. Nothing leaves the page.
How to use it
Find and Replace: paste the text into the box above, set Find (default "The"), Replace with (default "A"), Treat the find box as a regular expression (default "no"), Match case (default "yes") and Whole words only (default "no"), and press Run to get the replaced text below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns replaced text; reloading the page discards both.
What to Expect
Best for
- Converting text to replaced text when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
The quick brown fox jumps over the lazy dog. The dog sleeps.
Sample output
A quick brown fox jumps over the lazy dog. A dog sleeps.
Frequently asked questions
How do I use the find and replace?
Find and Replace: paste the text into the box above, set Find (default "The"), Replace with (default "A"), Treat the find box as a regular expression (default "no"), Match case (default "yes") and Whole words only (default "no"), and press Run to get the replaced text below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.