Created
June 3, 2018 10:46
-
-
Save exdeniz/bd19f333c0de2b5c09108d03ad0a86f6 to your computer and use it in GitHub Desktop.
Russian phone regexp
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
| const re = /^(\+7|7|8)?[\s\-]?\(?[489][0-9]{2}\)?[\s\-]?[0-9]{3}[\s\-]?[0-9]{2}[\s\-]?[0-9]{2}$/gm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment