Re: Excepting Certain Charactors

From: Date: Fri, 10 Aug 2001 14:12:48 +0000
Subject: Re: Excepting Certain Charactors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62174@lists.php.net to get a copy of this message
On Fri, Aug 10, 2001 at 07:01:08AM -0700, Mike Mike wrote: > Hello Everyone, > I have a form and I only want to except lower case and > 'a threw z' charactors only. How does one do that? > Thanks > --Mike > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net preg_match ("/^[a-z]*$/", $string) or preg_match ("/^[a-z]+$/", $string) depending on $string being required or not. -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- H: +31 23 5516190 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#62174) next »