Inputs
Outputs
Literal replacement
Literal mode escapes regex punctuation in Search Text, so a value such as. matches a period instead of any character. By default, every exact match is
replaced.
For example, replace draft with final in:
final-report-final. Turn on Only First Occurrence to
produce final-report-draft.
Whole Words uses regex word boundaries. It works best for letters,
numbers, and underscores; punctuation and some non-Latin word boundaries may
behave differently than natural-language word detection.
Regex replacement
Regex mode uses the flags configured on Search Pattern. A regex with theg flag replaces every match; without g, only the first match is replaced.
Replacement tokens supported by JavaScript are available, including $& for
the complete match and $1, $2, and so on for capture groups.
For example, use this pattern:
2026-07-24 becomes 07/24/2026.