split teks dengan javascript baris baru
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?" ]