good!
To get to two weeks, just extend the formula longer and longer.
IF(
REGEX_MATCH(
{Subtasks},
"(^(.*\n)*.* \\((" &
DATETIME_FORMAT(TODAY(), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -1, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -2, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -3, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -4, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -5, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -6, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -7, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -8, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -9, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -10, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -11, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -12, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -13, "days"), "YYYY/MM/DD") &
")\\)" & ")"
),
REGEX_EXTRACT(
{Subtasks},
"(^(.*\n)*.* \\((" &
DATETIME_FORMAT(TODAY(), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -1, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -2, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -3, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -4, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -5, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -6, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -7, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -8, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -9, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -10, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -11, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -12, "days"), "YYYY/MM/DD") & "|" &
DATETIME_FORMAT(DATEADD(TODAY(), -13, "days"), "YYYY/MM/DD") &
")\\)" & ")"
)
)