Text Lab
Find & replace
Find and replace plain text or a regular expression, with match-case and whole-word options.
- 1Fill in the values
- 2Click Run
- 3See results instantly
Limits
- Literal mode is the default. Regex mode uses JavaScript (ECMAScript) syntax, runs in a separate worker and is stopped after 2 seconds (possible catastrophic backtracking).
- Regex limits: pattern 1,000 characters, text 1 MB, 200,000 replacements.
- Whole-word matching (literal mode only) treats letters, digits, combining marks and underscore as word characters; in regex mode use \b yourself.
Ask the AI chat
The AI chat can run this tool for you. Try:
- “find and replace "cat" with "dog" in: the cat sat”