I need to have PHP read another file, and do two things (at least there are two that I don't know how to do.)
1) Delete anything after and including a // but only on that line. The line does not need to start with the // but if it exists, everything on the line after the // and including the // need to go.
2) Delete anything inbetween and including a /* and */ on any number of lines.
Thank you for your help in figuring this one out.