Created
September 10, 2018 11:58
-
-
Save shohag-cse-knu/e3efed644de70ef678104c851773b888 to your computer and use it in GitHub Desktop.
jQuery mobile number validation
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
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