if (($submit == \"Go\")&&($test =! ereg(\"[[:alnum:]]\"))) {
}
i know this is incorrect, but im not sure how to use the regular expressions... i want it so that if $test is any other than alnum.. aka numbers + alphabet, it runs the code in the if statement... any help?