Created
April 15, 2011 00:51
-
-
Save bernos/920915 to your computer and use it in GitHub Desktop.
Validates a number is a valid australian mobile
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(value) { | |
return String(value).match(/^04[0-9]{8}$/) != null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment