Created
October 9, 2015 12:19
-
-
Save vlas-ilya/1fffeb5e2a850085096e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var checkPhoneNumberFormat = function (phone) { | |
return /^[ ()\-0-9]+$/.test(str); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment