On Sat, 2007-02-03 at 13:58 -0500, Manolet Gmail wrote: > 2007/2/3, Steffen Ebermann <eseh@xxxxxxxx>: > > You have to use preg_match_all() > > > > if (preg_match_all("!\"(.+)\"!sU", $var, $match)) > > > > > > oh wow! works very well... but... i take 2 days reading about ereg ='( > there is no way to do this using ereg an not preg (PCRE)... > > anyway, PCRE is better that ereg? PCRE is much more powerful than ereg(). It is considerably faster too. However ereg() is POSIX compliant if that matters at all. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php