Re: Regular Expression (for ereg(i))

From: Date: Mon, 14 Oct 2002 09:47:54 +0000
Subject: Re: Regular Expression (for ereg(i))
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119858@lists.php.net to get a copy of this message
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:asergey@inbox.ru http://www.none.ru

« previous php.general (#119858) next »