note 8662 added to ereg_replace
| From: | flash at drewnels dot net | Date: | Fri, 22 Sep 2000 16:46:15 +0000 |
| Subject: | note 8662 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5331@lists.php.net to get a copy of this message | ||
can someone tell me why this happens?
ereg_replace("b.+e","#","abcdefgabcdefg")
this returns the following:
a#fg
not at all what I expected or wanted. I wanted this returned:
a#fga#fg
what do I do to get this result?
http://www.php.net/manual/function.ereg-replace.php