preg_replace question,
| From: | daniel | Date: | Fri, 14 Mar 2003 04:19:51 +0000 |
| Subject: | preg_replace question, | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139662@lists.php.net to get a copy of this message | ||
yes another one sorry, i'm trying to find the most efficient way to do a
replactment over this
eregi_replace("\[f$key\f\]","$value",format_content($content));, would
preg_replace be quicker and how could i go about it ?
i'd need to replace [f1247f] with its replacement value better still maybe
even [1313431] is needed ? i dont know why they has f's in there ?