Date: 12/30/99
- Next message: Joel: "Re: [PHPLIB] Please help!"
- Previous message: Chris Johnson: "RE: [PHPLIB] Please help!"
- Next in thread: Allen Lee: "RE: [PHPLIB] Extracting URL"
- Maybe reply: Allen Lee: "RE: [PHPLIB] Extracting URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I was wondering if anyone could help me out. I have a page which I wish
to run a PHP3 script on to make it printable. I have removed all HTML codes
except I wish to extract the URL so if I originally had something like:
<a href="http://www.yahoo.com">Yahoo!</a>
It would turn it into:
Yahoo! (http://www.yahoo.com)
Anyone know how this would be possible. I've played around with preg_replace
a bit but couldn't get it to work properly. Any help is apreciated.
--------------------------------------------------------------------
Paul
http://www.top-www.com
http://www.emusphere.com
--------------------------------------------------------------------
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Joel: "Re: [PHPLIB] Please help!"
- Previous message: Chris Johnson: "RE: [PHPLIB] Please help!"
- Next in thread: Allen Lee: "RE: [PHPLIB] Extracting URL"
- Maybe reply: Allen Lee: "RE: [PHPLIB] Extracting URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

