How the tool works
Enter the search value, replacement, and source text, then replace every matching occurrence. Literal search is the safest default; optional case sensitivity distinguishes uppercase and lowercase, while regular-expression mode supports patterns.
Supported input and output
Any plain text can be processed. Literal mode treats punctuation as ordinary characters. Regular expressions can match variable content such as numbers, whitespace, prefixes, or repeated formats, using browser-supported JavaScript syntax.
Practical example
Rename a repeated product term, remove a known prefix, normalize a date pattern, or replace matching identifiers in test data. Review the generated text before copying it over the original source.
Common use cases
Bulk find and replace helps edit documents, code samples, CSV fragments, templates, migration notes, and anonymized fixtures. Case-sensitive matching prevents changing words whose capitalization carries a different meaning.
Limits and important checks
Broad patterns can replace more text than intended, and malformed regular expressions produce errors. Work on a copy, begin with a narrow expression, and inspect several matches before using the output in an important document.
Privacy and local processing
Unless the tool explicitly identifies an external lookup, input and generated output are processed in your browser and are not uploaded to CosmoTools. Avoid placing secrets in any web page and review downloaded results before using them in production.