Last active
October 16, 2017 12:41
-
-
Save anuislam/34250eebaa4e6677c9888ec47b4225e2 to your computer and use it in GitHub Desktop.
valid name regex
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
preg_match("/^[a-zA-Z0-9\s]{2,25}$/", "", $FirstName) | |
preg_match("/^[a-zA-Z0-9\s]{2,25}$/", "", $LastName) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment