On Tuesday 01 June 2004 20:43, Vincent DUPONT wrote: > I would like to extract the quoted text from a string > for example : the translation for beautiful is "beau" and wonderful is > "formidable" I need to get 'beau' and 'formidable' strings into an array.
preg_match_all('|.*"(.*)".*|U', ...); Season to taste. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Walk softly and carry a BFG-9000. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php