Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleregular expressions

The default Phone Validation Regex Pattern /^[0-9]{3,32}$/ is a simple expression that will check if the number has a minimum of 3 digits and a maximum of 32 and nothing else.

To allow anything to match use the /(.*?)/ regex. 

Regular Expression to match a international phone number including signs like +     /^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}$/