Regular Expressions 101

Community Patterns

Daily Stand-up - Slack to Notion

0

Regular Expression
Python

r"
(?:.[.]\s+(.*?)(?=\n|$))
"
gm

Description

Usage: Used to convert Daily Stand-up text entered in a Slack channel, i.e.:

  1. 1x1s with Sam and Alex; research team meeting; non-client work; Profile UT report; future UT planning
  2. Sprint planning; Profile UT Rd 2 planning meeting; 1x1 with Madison; weekly design sync; research touch-base with interns
  3. no blockers

Into a database record in Notion using the RegEx:

r"(?:.[.]\s+(.*?)(?=\n|$))"gm
Submitted by TerpsFreak - 2 years ago