Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?=.{18}$)(?!198.)([0-9]{4})(.*?)\1
/
gm

Description

Ejemplo del uso de grupos lookahead

Submitted by anonymous - 4 years ago