I havnt read the whole tutorial on regex yet but writing
preg_match("[a-zA-Z0-9]",$field);
will return true eaven if any of the letters a-z A-Z or the numbers 0-9 are found in the string mixed with any other scaracters...
How do I write to get it to only return true if the string is containing characters from a-z or numbers 0-9, no other characters are allowed.
Thanks.