I am using data from a Facebook post to fill in a Discourse topic title via Zapier automation. What I would like very much is to subtract the last set of characters from the title. These are craigslist titles and are formatted like this=“2000 Subaru 2.5rs - cars & trucks - by owner - vehicle automotive sale”
I want to remove “- cars & trucks - by owner - vehicle automotive sale” from the title so we just see the year and Car, in this case, “2000 Subaru 2.5rs”. Is there a way to do this?