ok you are not quite understanding how preg_ function work
for ereg_ function your regular expression is given in a plain string
"x" will find an x
for preg_ function your regular expression has to exist between delimiters most commonly // but can be any character. because the mimic perl where the expression was not a string but a command.
"/x/" will find an x
preg_replace("\"","",$commentsnew);
needs to become
preg_replace( '/"/', '', $commentsnew );