hi, i want to be able to change this:
into this:
basically, i want php to search for the string <a href=" and replace that with <a href=" but keep everything between the quotes the same and change "> into "> and the same for the link title and the </a>
i tried looking at eregi_replace but some the syntax looked really complex and i didn't know what was going on... can anybody help me figure it out
thanks
Code:
<a href="whatever">link title</a>
into this:
Code:
<a href="whatever">link title</a>
basically, i want php to search for the string <a href=" and replace that with <a href=" but keep everything between the quotes the same and change "> into "> and the same for the link title and the </a>
i tried looking at eregi_replace but some the syntax looked really complex and i didn't know what was going on... can anybody help me figure it out
thanks