Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
((?:[A-Z]\.|[^\.!?])+)[\.!?]
/
g

Description

Matches sentences, but skips over abreviations

Submitted by Jonathan Mee - 10 years ago