note 51751 rejected from function.preg-replace by nlopess
| From: | nlopess@php.net | Date: | Sat, 09 Apr 2005 19:43:42 +0000 |
| Subject: | note 51751 rejected from function.preg-replace by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87769@lists.php.net to get a copy of this message | ||
Note Submitter: buana at user dot net
----
Dear All,
Need help..., please
I have a string:
$string = 'The* -quick* +brown* fox* "jumped* over* the" lazy* +dog*';
I want to remove all asterix (*) ONLY from words between quotation mark... and the result like:
$result = 'The* -quick* +brown* fox* "jumped over the" lazy* +dog*';
Thank for help
Buana