Duplicate of removing comments of type // and /*. Thread closed.