Most Track Titles have a name followed by a “space hyphen space” and a suffix.
I’d like to automatically delete everything after and including the “space hyphen space”.
If Track Title is not followed by “space hyphen space”, just copy the Track Title over.
Thank you so much for pointing me in the right direction.
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.