I am trying to use javascript\'s split to get the sentences out of a string but keep the delimiter eg !?.
So far I have
sentences = text.split(/[\\\
Improving on Mia's answer here is a version which also includes ending sentences with no punctuation:
string.match(/[^.?!]+[.!?]+[\])'"`’”]*|.+/g)