Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(0([2-468-9]\d{7}|[5|7]\d{8}))$
/

Description

Valiate israel phone number

Submitted by boevik - 9 years ago