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

Reply via email to