Re: extracting quoted text in string

From: Date: Tue, 01 Jun 2004 13:00:09 +0000
Subject: Re: extracting quoted text in string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187342@lists.php.net to get a copy of this message
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. */

« previous php.general (#187342) next »