Using JavaScript I\'m trying to split a paragraph into it\'s sentences using regular expressions. My regular expression doesn\'t account for a sentence being inside bracket
I took the match approach rather than split. It could be tighter (e.g. what if a sentence ends with ..., etc).
...
text.match(/\(?[A-Z][^\.]+[\.!\?]\)?(\s+|$)/g);
http://jsfiddle.net/DepKF/1/