note 8752 added to ereg_replace
| From: | mwebb at sinclair dot edu | Date: | Wed, 27 Sep 2000 03:15:06 +0000 |
| Subject: | note 8752 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5458@lists.php.net to get a copy of this message | ||
Does anyone know of a function that can extract characters from a string?
Example:
asdfasdfasd <a href="asdf.com">asdf.com</a> asdfasdf <a
href="abc.com"> abc.com </a> alskdjfowejoijelkj
So that I may keep the stuff between <a href and </a> tags and dump the rest of the junk
with a bunch of junk before, after and inbetween the html tags?
Thanks!
http://www.php.net/manual/function.ereg-replace.php