thanks!
What if i wanted to insert a string after a certain string that does not contain http after it.
Another example:
eregi_replace("var=(http){0}", "\0$r_string", $string);
So insert a replacement string after all var= (in the search string) that don't have http after them.
so var=test would be changed to var=($r_string)test
($r_string above being replaced with whatever string the variable $r_string contains)
and var=http://test would not be changed
Thanks for your help!