JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="text">First sentence.Second sentence? Third sentence!
Fourth sentence.
</textarea>
JavaScript
var sentences = $('#text').val().match(/[^\r\n.|!|?]+(\r\n|\r|\n|[.|!|?])\s*/gi);
console.log(sentences);