Re: reg-ex

From: Date: Mon, 25 Mar 2002 13:40:46 +0000
Subject: Re: reg-ex
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90014@lists.php.net to get a copy of this message
"John Fishworld" <john@webital.de> wrote in message news:002301c1d3fa$b2c2f350$04010a0a@fishworld... > How can I change this to accept spaces as well ? > > (ereg("^[A-Za-zÀ-ÖØ-öø-ÿ]*$", $str)) Put a space in the character class. ~James

« previous php.general (#90014) next »