Split, strip and join again

You can use regex with the following pattern \S*\s-\s like shown in this post: