Find and Replace Tool

Search and replace text with advanced options including regex support

Regular Expression Examples

Regular expressions (regex) allow powerful pattern matching. Here are some examples:

  • \d+ - Matches one or more digits
  • \w+ - Matches one or more word characters
  • \s+ - Matches one or more whitespace characters
  • ^ - Matches the start of a line
  • $ - Matches the end of a line
  • . - Matches any character
  • [a-z] - Matches any lowercase letter

Example: Find \d{3}-\d{3}-\d{4} to match phone numbers like 555-123-4567

Frequently Asked Questions

What does "whole words only" mean?

When enabled, the search will only match complete words. For example, searching for "cat" won't match "category" or "concatenate", only the standalone word "cat".

How do I use regular expressions?

Enable the "Use regular expressions" option and enter a regex pattern in the "Find Text" field. Regex allows complex pattern matching beyond simple text searches.

Can I leave the replace field empty?

Yes! Leaving the "Replace With" field empty will delete all instances of the found text, effectively removing it from your content.

Related Text Tools

→ Duplicate Line Remover → Suffix/Prefix Adder → Remove Line Breaks