Pinned Loading
-
-
Vietnamese phone number validate input
Vietnamese phone number validate input 1// This function provide a way to validate the input number is a Vietnamese phone number.
2import "regexp"
3const phoneNumberVNPattern = "^0(3[2-9]|5[6|8|9]|7[0|6-9]|8[0-6|8|9]|9[0-4|6-9])[0-9]{7}$"
45func IsVietNamesePhoneNumber(phoneNumber string) bool {
-
Go-Naming-Convention
Go-Naming-Convention 1- Project Naming
2--- Package Naming
3------ Files Naming
4--------- Functions
5--------- Structures
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.