Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?=(?:.*\d){7,}).{7,}$
/

Description

7 digits in this case

Submitted by Hohanoff - 4 years ago