Last active
July 11, 2024 18:11
-
-
Save readyyyk/1b9a2ff6467f18513b382a32d15fe192 to your computer and use it in GitHub Desktop.
BY number check regex
This file contains 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 phoneBYRegex = /^\+375 ?(\d{2}|\(\d{2}\)) ?\d{3}[- ]?\d{2}[- ]?\d{2}$/; | |
module.exports = phoneBYRegex; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment