Re: Regular expression newbie question, convert this: [::word1 \" word2 \" word3::] to : ".word1 " word2 " word3."

From: Date: Sat, 15 Jun 2002 15:35:05 +0000
Subject: Re: Regular expression newbie question, convert this: [::word1 \" word2 \" word3::] to : ".word1 " word2 " word3."
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-102344@lists.php.net to get a copy of this message
Hi Lance: On Sat, Jun 15, 2002 at 06:54:24PM +0800, Lance wrote: > hi, thanks for the code. i tried. it only worked if the string is simply > the one i wanna convert. but that particular string is in the middle of > a long text, and there are multiple occurance, it won't. Strange. It should work regardless of length. Couple things. Could you please provide an example of the text you're trying to convert and explain why you have this weird format and why you need the other unusual format. We may be able to come up with something far more straight forward. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#102344) next »