Replace links from specific domain with text (PHP)

Posted by nuphero on Stack Overflow See other posts from Stack Overflow or by nuphero
Published on 2010-04-24T20:52:37Z Indexed on 2010/04/24 21:03 UTC
Read the original article Hit count: 81

Filed under:
|
|
|

Hi guys.

I have :

<a href="http://abc.com">Title</a>

And :

<a href="http://xyz.com">Title</a>

I want to replace link to text "Title", but only from http://abc.com. But I don't know how ( I tried Google ), can you explain for me. I'm not good in PHP.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about php

Related posts about replace