note 35070 added to function.preg-replace
| From: | Tarmo Renter | Date: | Mon, 18 Aug 2003 17:38:30 +0000 |
| Subject: | note 35070 added to function.preg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54608@lists.php.net to get a copy of this message | ||
Note for automatic hyperlinker below:
If you have a string with tags , including for example <img src=http:///www.qwe.ee/img.jpg>, you might want to add negative
lookbehinds, (?<!\/)(?<!=) before ((((http|https|ftp).
This excludes URLs, which begin with / and =
----
Manual Page -- http://www.php.net/manual/en/function.preg-replace.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35070
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35070&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35070&report=yes