Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

How to remove [1],[2] from list of data

Topic Labels: Formulas
Solved
Jump to Solution
106 2
cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Shot 2022-10-06 at 12.00.58 pm

I’d like a formula to remove the [1][2] instances from the column data

1 Solution

Accepted Solutions
IF({First Nations}, REGEX_EXTRACT({First Nations}, "[^\\[]*"))

Screen Shot 2022-10-05 at 9.44.07 PM

The regular expression effectively says: grab everything up to—but not including—the first square brace.

See Solution in Thread

2 Replies 2
IF({First Nations}, REGEX_EXTRACT({First Nations}, "[^\\[]*"))

Screen Shot 2022-10-05 at 9.44.07 PM

The regular expression effectively says: grab everything up to—but not including—the first square brace.

Perfect, works great thank you!