I have one column with text in the following format:
A Meeting By The River (Album) 3 versions
I need to split it into 3 columns
1: the string before the bracket
2: the string between the bracket
3: the string after the bracket
I have one column with text in the following format:
A Meeting By The River (Album) 3 versions
I need to split it into 3 columns
1: the string before the bracket
2: the string between the bracket
3: the string after the bracket
Best answer by Ben_Young1
For diversity of thought, if you’re like me and dislike handling the FIND/MID/LEFT/RIGHT dance, you can utilize regex.
Here’s a super quick array of formulas that produce the desired behavior.

IF(
{String},
REGEX_REPLACE(
REGEX_EXTRACT(
{String},
'^.+\\('
),
'\s\($',
''
)
)
IF(
{String},
REGEX_REPLACE(
REGEX_EXTRACT(
{String},
'\(.+\)'
),
'[\(\)]',
''
)
)
IF(
{String},
REGEX_REPLACE(
REGEX_EXTRACT(
{String},
'\).+$'
),
'\)',
''
)
)
I just woke up and wrote those pretty fast, so the patterns might be wonky, but they work and serve as an example.
I almost always use regex as it allows me to adjust the pattern to account for changing requirements easily.
All I have to do is look at the pattern, and I can instantly troubleshoot exactly what it’s looking for in the target parameter.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.