Skip to main content
Solved

Extract/filter checked items from a rich text field

  • October 27, 2023
  • 2 replies
  • 35 views

Forum|alt.badge.img+5

Hello, 

I'm trying to find a function that will pull all of the long text; rich field checked boxes away from any unchecked boxes. I've found the solution linked below and it worked great for the opposite problem. Does anyone have a formula to solve pulling only checked boxes? 

https://community.airtable.com/t5/automations/extract-filter-unchecked-items-from-a-rich-text-field/td-p/27036

Subtasks are all our tasks. Next steps are unchecked tasks. Activity completed should be only checked boxes from the subtasks table. 

 

Thank you!! 

 

@TheTimeSavingCo @Brian_LWA 

Best answer by Arthur_Tutt

Hey @LindsayRidpath ! a minor tweak to the RegEx solution posted by @TheTimeSavingCo  like this should fix it:

 

 

SUBSTITUTE( REGEX_REPLACE( {Subtasks}, ".+([[\\s]].+)", '' ), '\n\n', '\n' )

 

 

And a screenshot:

2 replies

Arthur_Tutt
Forum|alt.badge.img+19
  • Brainy
  • Answer
  • October 28, 2023

Hey @LindsayRidpath ! a minor tweak to the RegEx solution posted by @TheTimeSavingCo  like this should fix it:

 

 

SUBSTITUTE( REGEX_REPLACE( {Subtasks}, ".+([[\\s]].+)", '' ), '\n\n', '\n' )

 

 

And a screenshot:


Forum|alt.badge.img+5
  • Author
  • Inspiring
  • October 28, 2023

Hey @LindsayRidpath ! a minor tweak to the RegEx solution posted by @TheTimeSavingCo  like this should fix it:

 

 

SUBSTITUTE( REGEX_REPLACE( {Subtasks}, ".+([[\\s]].+)", '' ), '\n\n', '\n' )

 

 

And a screenshot:


Thank you!!