目前,我有这样的正则expression式将一个段落分成几个句子:/[ /[^\.!\?]+[\.!\?]+/g .! /[^\.!\?]+[\.!\?]+/g .! /[^\.!\?]+[\.!\?]+/g ?]+/ /[^\.!\?]+[\.!\?]+/g 。 问题是,我的段落不仅仅是文本的段落。 我有像这样的链接: This is text and here is a <value="link" href="http://link.com?param=test"> which directs to another page. So I don't want to split at the anything inside the link above. 我想分裂成一个数组,如: ['This is text and here is a <value="link" href="http://link.com?param=test"> which directs to another page.', 'So I […]