i want to break a paragraph into sentences in jquery. Lets say i have a paragraph
This is a wordpress plugin. its older version was 2.3.4 and new version is 2.4. But the version 2.4 had a lot of bungs. Can we solve it?
i want to break it into
This is a wordpress plugin.
its older version was 2.3.4 and new version is 2.4.
But the version 2.4 had a lot of bungs.
Can we solve it?
is there any solution for that. i tried to use this function but it also separate sentence when a number came.
var result = str.match( /[^\.!\?]+[\.!\?]+/g );
Thanks