String validation

From: Date: Thu, 26 Oct 2000 10:14:08 +0000
Subject: String validation
Groups: php.general 
Request: Send a blank email to php-general+get-22081@lists.php.net to get a copy of this message
ok, this is what I want to do. I have a script (http://64.78.177.254/steelangel/subscribe.html test it if you'd like) I want to verify that the username and password are in this format: 20 chars long contain valid characters A-Z a-z 0-9 and _ No spaces anywhere and no dashes. what is the expression and syntax to do this? Im not too good at string validation. Thanks to all. Dallas K.

« previous php.general (#22081) next »