Hi, How can i restrict the user to only be able to enter letters, numbers and _'s??
Any help would be great
Jonathan
hi jonathan,
one way is to parse the entered values by regular expression to find out if there are special chars in this string.
JR
if (preg_match('/[a-z0-9-_]/i',$password)) { //error out }