Skip to main content
FLO.W 思流Notion Formulas
Back to function index

replace

A quick reference for the Notion replace function, including syntax, purpose, return value, and examples.

Quick reference

ItemDetails
Functionreplace()
CategoryText
Syntaxreplace(text, pattern, replacement)
PurposeReplace the first match
Return valueText

Official example of the replace function in the Notion formula editor

Examples and notes

replace() replaces only the first match:

replace("A-B-C", "-", "/")

replaceAll() replaces all matches:

replaceAll("A-B-C", "-", "/")

Remove all whitespace:

replaceAll(prop("Text"), "\\s+", "")

To use these formulas directly in task reminders, project progress, note heatmaps, and reports, continue with FLO.W Notion Template.

Back to function index

Last updated on