Created
December 17, 2024 05:11
-
-
Save shohag-cse-knu/e71afb02951edd449dd95547c9121883 to your computer and use it in GitHub Desktop.
Mobile Number of BD validation by JS
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
| function mobile_no(val){ | |
| if((/^(017|018|016|015|011|019)\d{8}/).test(val)) { | |
| return true; | |
| else | |
| return false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment