Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-08-08 05:31
Flavor·PCRE (Legacy)

/
(?:(?!.{1,30}(?:\.\s|\.$|\?\s|\?$|;\s|;$|||))(?:.{30}))|(?:.{1,30}(?:\.\s|\.$|\?\s|\?$|;\s|;$|||))
/
gs
Open regex in editor

Description

Try to split at the longest point whereas sentences ended.

Submitted by anonymous