Hi Ns_Andy,

Monday, October 14, 2002, 1:27:06 PM, I've got:

N> if I want eregi to return false if the string contains < char,
N> for example,
N> "A<B" //false will be returned.
N> what's the reg expression I can use?

eregi will return false if there is no such expression;
For Your example it will be:

eregi ("^[^<]+$","A<B")


will return false.

-- 
The Same,
 Steel                            mailto:[EMAIL PROTECTED]
                                       http://www.none.ru


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to