Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
0([7,9][0]|[8][0,1])\d{8}
/
gm

Description

Regex for Nigerian Phone Numbers

Submitted by koderant - 3 years ago