Database

Creating Acronyms In Notion From Text Properties

Screen Shot 2020-05-10 at 3.06.37 PM.png

๐Ÿ…ฐ ReplaceAll Function

A Notion trick I started playing with is acronym generating. Perfect for studying or simplifying concepts into a retainable format. I'm currently building a learning hub that will turn my retention strategies into a "gamify" structure, and I thought this little formula may be useful for you. (replaceAll)

The Formula w/o Checkbox

replaceAll(prop("Name"), "[abcdefghigklmnopqrstuvwxyz]", "")

The Breakdown

replaceAll(prop("Name"), โ†’ Replace all characters in Name property ...

"[abcdefghigklmnopqrstuvwxyz]", โ†’ that consist of lowercase letters ...

"") โ†’ with empty space.

The Formula w/ Checkbox

(prop("Acronym?") == true) ? replaceAll(prop("Name"), "[abcdefghigklmnopqrstuvwxyz]", "") : "" โ†’ if Acronym property is true, then follow above formula.

VIEW EXAMPLE