Strip newlines and split into multiple messages