All you need is a regular expression, provided by ereg function or preg
functions.
You'd have the regex look for a href then capture everything up to /a
Then just adjust the result as you want it to appear.
You'll need to either search around for code that already does this, or be
willing to
I have been able to find out how to read a file and replace certain matches,
but I want to be able to take a web page stored in a string and change the
a href tags and add www.mysite.com?page= before the actual link value so
the new url would read www.mysite.com?page=original_url. Can I do
2 matches
Mail list logo