Community Patterns

Community Library Entry

7

Regular Expression
Created·2015-09-13 13:44
Flavor·PCRE (Legacy)

/
\s(([a-zA-Z]+\-[a-zA-Z]+|[a-zA-Z]+)\.)
/
g
Open regex in editor

Description

Adds a non-breaking space between the last two words of sentences

Submitted by herkulano