Regular Expressions 101

Community Patterns

Spain Phones

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^((00|0)?34[6789]{1}[0-9]{8})$
/
gm

Description

Regex for Spain phones (without +)

Submitted by anonymous - 7 months ago