Remove spaces either side of `event`