Regular Expressions 101

Community Patterns

Telephone numbers from Spain

1

Regular Expression
PCRE (PHP <7.3)

/
(^[6-7][0-9]{8,8}$)|(^9(0{2}|([1-9][0-9]))[0-9]{6}$)|(^8[1-9][0-9]{7,7}$)
/

Description

no description available

Submitted by anonymous - 6 years ago