stripping an HREF out of a line of text
| From: | Rodino, Justin Bain | Date: | Thu, 14 Sep 2000 22:19:27 +0000 |
| Subject: | stripping an HREF out of a line of text | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16843@lists.php.net to get a copy of this message | ||
If you've got a bunch of code on one line, and you want to stript out an
HREF (say you've got--all one one line)
- - Cut here - -
<tr valign="top"><td width="14"><img
src="/desktop/images/bullet.gif"
alt="*" width="14" height="9" border="0"
hspace="0" vspace="0"></td><td><A
HREF="/2000/LAW/09/14/wenholee.reno/index.html" TARGET="opener"
class="Link">Reno offers no apology for Wen Ho Lee case</A></td></tr>
- - End Text - -
how can I use either eregi or eregi replace to get
"/2000/LAW/09/14/wenholee.reno/index.html"?
TIA!
________________________________________
Justin Rodino <justin@goldendome.com>
Web Application Developer
Golden Dome Media
PO Box 1616
Notre Dame, IN 46634
219.631.1116
800.728.7979 ext. 1116
219.631.1001 - fax
http://www.goldendome.com/
http://www.wndu.com/