I figured it is better to ask, than to do something and screw things up. I have a bunch of old PHP scripts that I am trying to convert to new coding. Can anyone verify for me the preg_replace() equivalents to the following old PHP functions:
$Output = ereg_replace("[\"]", "\\\"", $Output);
$Output = ereg_replace("'", "`", $Output);
ereg_replace("[\]", "/", $Output);
Also, since I have your attention, can you verify the following convertion to preg_match():
Thanks in advance for your assistance in this matter.