ETEvoraTools
Text Formatting

Find and Replace

Find and Replace rejects an empty Find value, then performs input.split(find).join(replacement). Matching is literal and case-sensitive, all nonoverlapping occurrences are replaced, and an empty replacement deletes matches. It has no regular expressions, whole-word mode, locale/case folding, occurrence count, preview, selection, backreferences, or undo.

Runs locally — files stay on your device
Quick answer

Are all matches replaced?

Yes.

Literal replacement has exact matching rules

The Find text has no regex meaning; metacharacters such as . and * are ordinary characters.

How it works

After nonempty validation, split creates pieces around exact matches and join inserts replacement.

Key concepts

Case-sensitive

Cat does not match cat.

Nonoverlapping

split follows left-to-right literal boundaries.

When to use it

  • Replace a known exact token everywhere.
  • Delete a literal substring.
  • Update repeated identifiers in plain text.

When not to use it

  • Do not expect case-insensitive or whole-word matching.
  • Do not use regex syntax.
  • Do not run broad replacements without previewing important text.

Worked examples

All

Input
cat cat; find cat; replace dog
Expected output
dog dog

Both match.

Delete

Input
a-b; find -; replacement empty
Expected output
ab

Match removed.

Case

Input
Cat cat; find cat
Expected output
Cat plus replacement

Capital C remains.

Common mistakes

Expecting regex

Patterns are literal. Correction: Use a regex tool.

Case mismatch

Matches are exact. Correction: Normalize or use case-insensitive tooling.

Overbroad substring

Matches can occur inside words. Correction: Use boundary-aware replacement.

Best practices

  • Test on a sample.
  • Keep an original.
  • Choose a specific nonempty token.

Related operations and differences

Add Prefix to Every Line

Choose Add Prefix to Every Line when you need to add the same prefix before every line.; use Find and Replace specifically for find replace.

Add Suffix to Every Line

Choose Add Suffix to Every Line when you need to add the same suffix after every line.; use Find and Replace specifically for find replace.

Capitalize Every Word

Choose Capitalize Every Word when you need to capitalize the first character of every word.; use Find and Replace specifically for find replace.

Character Counter

Choose Character Counter when you need to count Unicode characters in text.; use Find and Replace specifically for find replace.

Extract Email Addresses

Choose Extract Email Addresses when you need to find unique email addresses in text.; use Find and Replace specifically for find replace.

Extract URLs

Choose Extract URLs when you need to find unique HTTP and HTTPS links in text.; use Find and Replace specifically for find replace.

Limitations and privacy

  • Exact case-sensitive global literal replacement only; no regex, whole-word, case folding, match count, preview, single-occurrence, selection, backreferences, or undo.

Text is transformed locally in this browser and is not uploaded by the tool.

Frequently asked questions

Can Find be empty?

No.

Can replacement be empty?

Yes.

Is matching case-sensitive?

Yes.

Are regex symbols special?

No.

References