On Mon, 2008-01-28 at 14:28 +0900, Teck wrote: > I was using preg_replace for this, and try to delete (i.e., replace > the non-matched part with an empty string) the second part, but I > can't make it work. Rather use preg_match_all() as that will produce an array of values, with the first value being the original that you can then compare with. --Paul
All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php