Created
April 11, 2012 12:38
-
-
Save manigandanta/2359087 to your computer and use it in GitHub Desktop.
match only strings and numbers with spaces
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
var userRegex = /^\d*[a-zA-Z][a-zA-Z\d\s]*$/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment