texto dividido por nova linha JavaScript
myText.split(/\n/)
Frail Fox
myText.split(/\n/)
var ks = $('#keywords').val().split(/\r?\n/);
let string = "Hi\nHow are you?"
let newstrings = string.split("\n"); // [ "Hi", "How are you?" ]