note 76306 deleted from function.eregi by bobby
| From: | bobby@php.net | Date: | Tue, 07 Aug 2007 14:57:28 +0000 |
| Subject: | note 76306 deleted from function.eregi by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-129246@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at scientificabuses dot com
----
Sorry about that. Somehow my explanation didn't make it.
That's a pseudo-function to help get rid of the link tags surrounding a link (ex: <a
href="/linkname">link</a>). It assumes that the link is all on one line (since
the .* wildcard stops at newline characters), but it can be modified to take out any of the HTML
tags (sup, embed, link, etc.) so that the text inside can remain. If anybody can write a function to
take out all of the HTML tags, that'd be awesome.