Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
[5-9]\d{2,}|\d{4,}
/
gm

Description

Glad this helps for some

Submitted by Wallik - 3 years ago