I have come this far, but it results in an #ERROR! for TRACK TITLE C:
> IF(
> {TRACK TITLE},
> SUBSTITUTE({TRACK TITLE},
> REGEX_EXTRACT({TRACK TITLE}," -.*"),""
> ))
Welcome back to the Airtable community!
Regular expressions can be tricky to setup. Try this formula. It looks for a string of characters that are not hyphens and then trims any leading/trailing space.
TRIM(REGEX_EXTRACT({TRACK TITLE}, "[^-]*"))
The problem with this formula is that REGEX_EXTRACT
returns an error if the pattern does not have any matches.
Welcome back to the Airtable community!
Regular expressions can be tricky to setup. Try this formula. It looks for a string of characters that are not hyphens and then trims any leading/trailing space.
TRIM(REGEX_EXTRACT({TRACK TITLE}, "[^-]*"))
The problem with this formula is that REGEX_EXTRACT
returns an error if the pattern does not have any matches.
Thank you so much, kuovonne.
Would you mind adding your line of code to my formula? When I try to do it, I get formula syntax errors.
Thank you!
Thank you so much, kuovonne.
Would you mind adding your line of code to my formula? When I try to do it, I get formula syntax errors.
Thank you!
My formula does not need to be embedded in your formula. It is a standalone formula.
My formula does not need to be embedded in your formula. It is a standalone formula.
I just tried it. Works beautifully. Thank you so much!!