[eluser]basty_dread[/eluser]
works great.. thanks a lot theprodigy..
it takes me so much time try to figure it out..
i was working on crosslinking within the site..
things like this also could occur
Code:
$find = "designing";
$string = "<a href='link'>web desiging for all</a> nice web design";
$finalstring = preg_replace('/(^|[^<a.*?>])('.$find.')\b/iU', '\1<a href="http://yahoo.com">\2</a>', $string,-1,$i);
we will surely have an error with this..
i appreciate your help.. thanks a lot for helping me on it. Many Thanks