Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(0[124-9]\d{0,2})\d{7}$
/
g

Description

Validate phone numbers from Ireland

Submitted by anonymous - 7 years ago