Javascript String Split String to Array via RegExp
let myParagraph = "Lorem ipsum dolor sit amet, consectetur adipisicing elit."; let myArray = myParagraph.split(/[\.!?]/g); console.log(myArray.join("<br />"));