preg_match_all but no preg_replace_all?
| From: | Marten Lehmann | Date: | Tue, 10 Aug 2004 16:51:43 +0000 |
| Subject: | preg_match_all but no preg_replace_all? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193319@lists.php.net to get a copy of this message | ||
Hello,
I want to be sure, that preg_replace replaces all matches. But it doesn't accept the /g modifier. And anyhow, there's no preg_replace_all like there is an preg_match_all. Will preg_replace replace everything by default?
Regards
Marten