Regular Expressions 101

Community Patterns

Minimum words

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 - 2 years ago