Ben SmithBen Smith
Ben Smith
/
replaceAll
replaceAll
replaceAll

replaceAll

Category
Strings
Accepts
String
Returns
String
Alternative
More
Examples Used In
Task Progress
Task Progress
Game Nights
Game Nights
Count Multi-Select
Count Multi-Select
Incomplete Tasks
Incomplete Tasks
Next Task
Next Task
Reading Time
Reading Time
Products & Materials
Products & Materials
Decks & Cards
Decks & Cards
Length
Length
Formula Formatting
Formula Formatting
Polls
Polls
Projects
Projects
Oscars 2020
Oscars 2020
Unique IDs
Unique IDs
Check for Duplicates
Check for Duplicates
Count Y/N
Count Y/N
Weighted Tasks
Weighted Tasks
Active if Approved
Active if Approved
Acronyms
Acronyms
Product Feature Rating
Product Feature Rating
Eat the Frog
Eat the Frog
HH:MM:SS to Minutes
HH:MM:SS to Minutes
Household Tasks
Household Tasks
Happiness
Happiness
Emoji Result
Emoji Result
Count Select Instances
Count Select Instances
QC Rate
QC Rate
Mile Pace
Mile Pace
Combine Relation Properties
Combine Relation Properties
Notes & Tags
Notes & Tags
Colour Strips
Colour Strips
Contains Current Day or Date
Contains Current Day or Date
Multiple Progress Bars
Multiple Progress Bars
Content in Parentheses
Content in Parentheses
UTM Link Generator
UTM Link Generator
Remove Rollup Commas
Remove Rollup Commas
Master Tag Split
Master Tag Split
Gauge Chart
Gauge Chart
Slice Emojis
Slice Emojis
Risk Assessment
Risk Assessment
Rainbow Progress Bar
Rainbow Progress Bar
Current Month in Multi-select
Current Month in Multi-select
Project Progress
Project Progress
Domain Length
Domain Length
Quick Fix for formatDate Escaping
Quick Fix for formatDate Escaping
Thousands Separator
Thousands Separator
Templates Used In
Recipe Book
Recipe Book
Common Uses
New in 2.0
Share Link
https://notion.cool/formulas/replaceAll
Companion Docs
https://www.bensomething.com/notion/formulas/functions/replaceall
 
Syntax
replaceAll(text, pattern, replacement?)
text.replaceAll(pattern, replacement?)
Examples
replaceAll("Notion Notion", "N", "M")
"Notion 123".replaceAll("\d", "")
 
Example 1
Example 2
1!2!3
 
More Info
replaceAll · Notion Formulas · Ben Smith
Replaces all matches of the regular expression with the replacement value.
replaceAll · Notion Formulas · Ben SmithreplaceAll · Notion Formulas · Ben Smith
https://www.bensomething.com/notion/formulas/functions/replaceall
replaceAll · Notion Formulas · Ben SmithreplaceAll · Notion Formulas · Ben Smith