Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^\+234(7[0]|8[01]|9[01])\d.{07,08}$
/
gm

Description

Helps validate nigerian number in international format

Submitted by Jeremiah Olisa - 2 years ago