Strip line break characters
static String sanitiseSingleLineData(String input) { return input.replaceAll("\n", " ").replaceAll("\r", " "); }