Find and Replace

Replace across a whole document, with optional regular expressions.

Tool Panel

Loading tool...
About Find and Replace

Bulk find and replace with regex and case-insensitive options, plus a count of how many replacements happened.

  • 1

    Two matching modes: literal text, or a regex you supply. Literal matching means characters like . and * cannot accidentally change what gets replaced.

  • 2

    Ignore case affects matching only; the replacement is inserted as written. In regex mode, group references such as $1 work inside the replacement.

  • 3

    A replacement count is returned — zero means nothing matched, which beats guessing from the output.

Related tools

View all
Word Counter
Text Tools

Word Counter

Count characters, words and lines as you type.

Text Tools
Case Converter
Text Tools

Case Converter

Switch between upper, lower, camel, snake and other case styles.

Text Tools
Text Diff
Text Tools

Text Diff

Compare two texts and highlight exactly what changed.

Text Tools
Text Cleaner
Text Tools

Text Cleaner

Strip extra spaces, blank lines and stray markup in one pass.

Text Tools
Remove Duplicate Lines
Text Tools

Remove Duplicate Lines

Drop repeated lines and leave the list unique.

Text Tools
Sort Lines
Text Tools

Sort Lines

Order lines alphabetically, numerically or by length, in either direction.

Text Tools