Javascript Eliminar Saltos de Linea Textarea

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