I need to remove heading and tailing whitespaces which is done with .trim(), also i need replace all line breaks by single space which is done with .repla
.trim()
.repla