JSFiddle - React, Tailwind, and code Playground

JavaScript

var regex = new RegExp(".{0,}?(?:\\.|!|\\?)(?:(?=\\ [A-Z0-9])|$)", "g");
var testString = "This is a long string with some numbers [125.000,55 and 140.000] and an end. This is another sentence. Sencenes beginning with numbers work. 10 people like that.";
var match;
while ((match = regex.exec(testString)) != null) {
  // javascript RegExp has a bug when the match has length 0
  if (match.index === regex.lastIndex) {
    ++regex.lastIndex;
  }
  // the match variable is an array that contains the matching groups
  $('body').append(match[0] + '<br />');
}