Regular Expressions 101

Community Patterns

Repeating letters more than once

1

Regular Expression
PCRE (PHP <7.3)

/
^(?:\p{L}\p{M}?)*(\p{L}\p{M}?)(?=\1{2})(?:\p{L}\p{M}?)*$
/
gm

Description

no description available

Submitted by anonymous - 8 years ago