JavaScript Eliminar Saltos de Linea Textaraa

var textarea = data.replace(/(\r\n|\n|\r)/gm, "")
Open Octopus