Skip to content
Work data is processed in your browser, not stored on our servers.
tools
Find and Replace Text Online

Find and Replace Text Online

Find literal text or regular-expression matches and replace the first occurrence or every occurrence.

Find and replace
Find and replace text using a string or regular expression. In regular-expression mode, you can use capture-group replacements such as $1 . All processing happens in your browser.

Example:

Search with a regular-expression pattern
Search without matching letter case
Replace the first match or every match
Match complete words only
Result preview
Enter text to find to see the replaced result.

Key features

  • Switches between literal text search and JavaScript regular expressions.
  • Combines case-insensitive, replace-all, and whole-word options.
  • Supports capture references such as $1 in regex replacements.
  • Shows the replacement output and the number of matches found.

How to use

  1. Enter the source text and the value to find.
  2. Choose search options and enter the replacement.
  3. Review and copy the result.

Examples

  • Update repeated wording

    Find a term in a document and replace either the first occurrence or every match.

  • Clean patterned data

    Use regex captures and replacement text to reshape logs or lists.

Privacy

Searching, regex checks, and replacement run in your browser.

Requirements

For safety, patterns are limited to 1,000 characters and test text to 100,000 characters.

Common questions

Can I use both plain text and regular expressions?
Yes. Switch between literal search and JavaScript regex, then combine case-sensitive, whole-word, and replace-all options.
Can I inspect changes before copying them?
Review the match count and highlights first, then inspect the replacement preview in a separate output area.