Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(.)\1{4,}
/
gmi

Description

Check if there's consecutive chars

Submitted by anonymous - 6 years ago