Regular Expressions 101

Community Patterns

1...34567...879

replace any character with more than two occurrence

2

Regular Expression
ECMAScript (JavaScript)

/
( ?.)\1{2,}
/
g

Description

no description available

Submitted by papky - 8 years ago