Hi I'm not professional in PHP and I have some ploblem with eregi_replace function.
$A = "This is a dog and this <is> a cat";
I want to find and replace "is" to some text but not want to replace any word in the tag <>
Before I use:
$A = eregi_replace("(is)", "", $A);
Example: (I want to replace "" from "is")
$A = "This is a dog and this <is> a cat";
I want => "This a dog and this <is> a cat"
But not => "This a dog and this <> a cat"
Any one can help, Thank for any reply 
|