Ben SmithBen Smith
Ben Smith
/
replace
replace
replace

replace

Category
Strings
Accepts
String
Returns
String
Alternative
More
Examples Used In
Length
Length
Social Media Planner
Social Media Planner
Float
Float
Split Text at Character
Split Text at Character
Duration Text to Number
Duration Text to Number
Count Decimal Places
Count Decimal Places
Emoji Result
Emoji Result
Mile Pace
Mile Pace
Time Calculator
Time Calculator
Combine Relation Properties
Combine Relation Properties
Min/Max from Range
Min/Max from Range
YouTube Thumbnail URL
YouTube Thumbnail URL
Content in Parentheses
Content in Parentheses
Isolate Names
Isolate Names
Manipulating Articles ('The', etc.)
Manipulating Articles ('The', etc.)
Current Month in Multi-select
Current Month in Multi-select
Replace Tags with Emojis
Replace Tags with Emojis
Domain Length
Domain Length
What day is it?
What day is it?
Templates Used In
Common Uses
✂️
Isolate First or Last Name
New in 2.0
Share Link
https://notion.cool/formulas/replace
Companion Docs
https://www.bensomething.com/notion/formulas/functions/replace
 
Syntax
replace(number, text, text)
text.replace(pattern, replacement?)
Examples
replace("Notion Notion", "N", "M")
"Notion Notion".replace("N", "P")
 
Example 1
Example 2
1!2-3
 
More Info
replace · Notion Formulas · Ben Smith
Replaces the first match of the regular expression with the replacement value.
replace · Notion Formulas · Ben Smithreplace · Notion Formulas · Ben Smith
https://www.bensomething.com/notion/formulas/functions/replace
replace · Notion Formulas · Ben Smithreplace · Notion Formulas · Ben Smith