note 86118 rejected from function.preg-replace by thiago
| From: | thiago@php.net | Date: | Fri, 03 Oct 2008 20:12:02 +0000 |
| Subject: | note 86118 rejected from function.preg-replace by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145033@lists.php.net to get a copy of this message | ||
Note Submitter: jensjordan at o2online dot de
----
WHY DOESNT IT WORK???!?!
$news = preg_replace("(!\[img\](.*)\[/img\]!)","<img alt=\"Bild eines
Users\" src=\"\\2\">",$news);