Regular Expressions 101

Community Library

x
  • PCRE2 (PHP)
  • Match
1

Regular Expression

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

Description

Regex for UK phones (without +)

Submitted by Anonymous