Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?!.*(\w)\1{1,}).+$
/
gm

Description

^(?!.*(\w)\1{1,}).+$

Submitted by anonymous - 6 years ago