Regular Expressions 101

Community Patterns

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