Regular Expressions 101

Community Patterns

Israeli Phone Number

1

Regular Expression
PCRE (PHP <7.3)

/
^0(2|3|4|8|9|7[1-46-9]|5[0-578])[\.-:]?([2-9][0-9]{6})$
/

Description

Validate Israeli common phone numbers (simple landline and mobile only, no special / free / premium numbers)

Submitted by uda - 9 years ago