Find & Replace

Replace literal text or regular-expression matches while preserving your original input.

Processed locally in your browser. Your input is not uploaded.

How to use Find & Replace

Find literal text or enable JavaScript regular expressions. Replace the first match or every match and choose case sensitivity.

Details and limits

Replacement text is always literal, including dollar signs: capture references such as $1 are not expanded. Patterns run in a disposable worker with a time limit. Text is limited to 100,000 characters; particularly slow patterns may be cancelled.