Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
[:;)(?!]|(<!\d)[,.]|[,.](?!\d)
/
gi

Description

Split a sentence into phrases.

Submitted by Bill Bostock - 8 years ago