Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^((\+?234)|0)([89]((0[0-9])|(1[0-9]))|([79]0[1-9]))[0-9]{7}$
/
gm

Description

This regex will allow you validate the pattern of Nigeria phone number.

Submitted by Raymonbell - 17 days ago