[eluser]basty_dread[/eluser]
Hello Guys i need your help removing links..
for example i want to remove the link that surrounds this keyword: codeigniter
Code:
$string = "Welcom to Codeigniter <a href='http://codeigniter.com'>codeigniter</a><br />
<a href='http://mysite.com/index.php/forums/coding/sample'>codeigniter</a>";
$search = "codeigniter";
//code to use to remove the link that surrounds codeigniter..
i dont really know how to use preg_replace or str_replace..
I hope you will help me.. THanks..