Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

"
(\S{1,}\s{1,}){5,}
"
g

Description

change the ending {5,} to {x,} with x being minimum words

Submitted by anonymous - 3 years ago