Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
[\S]+?[[\S\s]+?(?:[\.?!])
/
gm

Description

Split sentences in a text. Can be used to build text manager apps.

Submitted by Danilo Celestino de Castro - 8 years ago