I have a piece of text in the forum:
line one;
line two;
line three;
line four;
(the result was produced by geshi - $geshi->parse_code();)
I tried to remove " " using
$result2=preg_replace("/&\#13;/", "", $result1);
but it is not working.
The strange thing is: this is done successfully in the live php regular expression tester: http://www.phpliveregex.com/
could some expert advise on it?
thanks a lot!
BTW:
I tried var_dump
and the output does not change except the title changed to string(5411) " see http://saslab.org
I also tried to use //
to remove the symbols, but in vain.
thank you for all suggestions!