Find and Replace

Replace every match in your text, with regex, whole-word and case-sensitive options.

100% private — everything runs in your browser

How to Use

  1. 1

    Paste the text you want to edit into the left panel.

  2. 2

    Enter what to find, then what to replace it with.

  3. 3

    Enable regex, whole word or case sensitivity if you need tighter matching.

Examples

Rename a variable

Input

Find: userName · Replace: user_name

Output

Every occurrence is renamed

Regex: mask digits

Input

Find: \d+ · Replace: #

Output

All numbers become #

FAQ

Are capture groups supported?

Yes. In regex mode use $1 … $9 in the replacement to insert the captured text.

Why were no matches replaced?

Check case sensitivity and whole-word mode — whole word only matches when the pattern is surrounded by non-word characters.

Is there a size limit?

The tool runs on your device, so large documents are limited by browser memory rather than an arbitrary cap.

Related Tools