Find and Replace

Search and replace text with literal or regex.

Text

Find and replace text: use literal search or regular expressions. Choose replace all or first match only. The number of replacements is shown. Runs in your browser.

About Find and Replace

Find and replace lets you search for text (or a regex pattern) and replace it with new text. You can replace every match or only the first. Useful for cleaning data, changing repeated patterns, or bulk edits. All processing runs in your browser.

How to use

  1. Enter the text to find and the replacement. Check Use regex for pattern matching.
  2. Paste your text in the text area. Choose Replace all or first only.
  3. Click Replace. The result and replacement count are shown.

Frequently Asked Questions

What is the difference between literal and regex?
Literal mode treats the find string as plain text. Regex mode uses a regular expression so you can match patterns (e.g. digits, word boundaries).
Is my text sent to a server?
No. Find and replace runs entirely in your browser.
What if my regex is invalid?
The tool will show an error. Test small samples first. Escape special regex characters in literal mode if you want to match them.