Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(\+?351)?9\d\d{7}$
/

Description

Matches current mobile phone numbers in Portugal

Submitted by Carlos Interactive3g - 10 years ago