RunTheTests

Find and Replace

Find and replace text, counting every match.

How this calculation works

Every occurrence of the text you enter in "find" is replaced with the "replace" text, and the number of replacements is reported. Matching is literal, so special characters are treated as themselves.

What the results mean

Literal, not regex
A dot matches a dot, not any character. This is simpler and safer for plain replacements than a regular expression.

Frequently asked questions

Can I use regular expressions?

No — this does literal matching only, which is what most replacements need and avoids the surprises of regex special characters. If you need pattern matching, a dedicated regex tester is the right tool.

More in Text