String validation

From: Date: Tue, 11 Dec 2001 10:13:37 +0000
Subject: String validation
Groups: php.general 
Request: Send a blank email to php-general+get-77284@lists.php.net to get a copy of this message
How can I check a string variable is based on alphabetical and numerical characters? For ex, I want to make a whois script for domainnames. You may only use alphabetical, numerical characters and dashes ("-") Thanks Emek

« previous php.general (#77284) next »