"^[ A-Za-z---]*$" On Mon, 25 Mar 2002, John Fishworld wrote:
> How can I change this to accept spaces as well ? > > (ereg("^[A-Za-zÀ-ÖØ-öø-ÿ]*$", $str)) > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php