Validate Phone Number

by Kyle on · Posted in Regular Expressions

This regular expression accepts the following formats:

  • 123456789
  • 123123456789
  • 123 123456789
^(\\+?)([0-9]+?)(\\s?)(\\+?)[0-9]+$

Save. Share. Submit.

Related Snips

Hide Sidebar