How can I split text with line breaks into different columns