Find and Replace
Bulk text replacement with regex support
A bulk replacement across a single pasted document, with the matching mode under your control. Literal mode treats the search text exactly as typed, so dots, brackets and asterisks are just characters and cannot go wrong. Regular expression mode hands the pattern to the engine, which opens up capture groups and backreferences. That difference shows up in the replacement field as well: in literal mode a dollar sign is a dollar sign, so $1 stays $1, while in regex mode $1 inserts whatever the first group matched. Matching is case-insensitive unless you tick the box, which is the opposite of most editors. The count under the input updates on every keystroke, and an invalid pattern is reported in the output rather than silently matching nothing.
Find and replace text across your entire input with literal or regular-expression matching, case control and a replacement preview. Like your editor's find-replace, but for one-off pastes.
Private Find and Replace In Your Browser
Find and Replace is processed locally with client-side JavaScript. Your files never touch a server, and there is no queue to wait in.
How to use Find and Replace
Enter the text to look for in the Find field.
Enter the replacement in the Replace with field; leaving it empty deletes the matches.
Tick Regular expression to treat Find as a pattern, and Case sensitive to require an exact match.
Read the count of replacements made, then copy the transformed text from the Result box.
- Literal or regular-expression matching from a checkbox
- Case sensitivity optional, with case-insensitive matching as the default
- Live count of how many substitutions were made
- Dollar signs in a literal replacement are treated as plain characters
- A developer swapping a deprecated API name for its replacement across a pasted configuration file.
- A writer normalising inconsistent capitalisation of a product name in a long document.
- A data cleaner reformatting a column of dates with a pattern such as (\d+)-(\d+)-(\d+) into a different order.