Text Replace

Find and replace text with multiple pairs — supports plain text, regex, and bulk replacements.

About Text Replace

Find and replace is one of the most fundamental text editing operations. This tool goes beyond simple single-pair replacement — you can define multiple find/replace pairs that are applied sequentially to the text, making bulk renaming, terminology updates, and content transformation fast and reliable.

The regex mode allows you to use regular expression patterns for advanced find/replace operations: replace all whitespace sequences with a single space (\s+ → " "), remove all HTML tags (<[^>]+> → ""), extract and reformat dates, normalize phone numbers, and perform complex structural transformations that simple text replacement cannot handle.

The whole word option ensures that "cat" is not replaced inside "concatenate" — only standalone occurrences surrounded by word boundaries are affected. This is essential when renaming variables or terms that might appear as substrings of longer words.

FAQ

What regex syntax is supported?
JavaScript regular expression syntax is used. Common patterns: \d (digit), \w (word character), \s (whitespace), . (any character), + (one or more), * (zero or more), ? (optional), ^ (start), $ (end), [abc] (character class), (group). Use capture groups like $1, $2 in the replacement string to reference matched groups.
Are pairs applied in order?
Yes. Replacement pairs are applied top to bottom, one after another. The output of each replacement is the input for the next. This allows chained transformations but requires care with ordering to avoid unintended replacements.