Open Doc Tools

Find & Replace

Plain text or regex, with a live match count and capture groups in the replacement.

Runs in your browser — nothing uploaded

How to use Find & Replace

  1. Paste your text.
  2. Enter what to find and what to replace it with. Switch on regex for patterns.
  3. Check the live match count, then apply.

Questions

What can I do with regex mode?
Match patterns rather than fixed strings — every number, every email address, text between two markers — and reuse captured groups in the replacement, so you can reformat rather than just substitute.
Nothing matched. Why?
Check case sensitivity first, then invisible characters. Text copied from a PDF often carries non-breaking spaces that look identical to ordinary ones but are a different character.
What can I do with regular expressions?
Match patterns rather than fixed text, and reuse parts of the match in the replacement with $1 and $2 — renumbering invoices or reformatting dates in one pass.
Is there a limit on how much text?
Plain replacement handles very large text. Regex mode is capped at 200,000 characters, because a badly formed pattern on a huge input can hang the tab.

Also called

Find & Replace does all of these. Looking for something else? Search every tool.

Other Text tools