Skip to main content
Solved

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

  • October 6, 2022
  • 2 replies
  • 20 views

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

Best answer by Justin_Barrett

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

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

2 replies

Justin_Barrett
Forum|alt.badge.img+21
IF({First Nations}, REGEX_EXTRACT({First Nations}, "[^\\[]*"))

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


  • Author
  • New Participant
  • October 6, 2022
IF({First Nations}, REGEX_EXTRACT({First Nations}, "[^\\[]*"))

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


Perfect, works great thank you!