Hi everyone,
I believe this is the correct way to replace this value, but it is not working for me.
I have the following I want to remove ...
{2}-1
So I wrote
$link = ereg_replace("/{2/}/-1", "", $start);
but I get this error "Warning: ereg_replace() [function.ereg-replace]: REG_BADBR."
If I try it like this...
$link = ereg_replace("{2}-1", "", $start);
I don't get an error, but it will not strip out the text.
I know its a matter of escaping it out, I am just not understanding the correct procedure in this case.
Thanks in advance,
Don