Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(070|080|081|090|091)[0-9]{8}$
/
i

Description

validate a Nigerian local phone number

Submitted by anonymous - 2 years ago