Removing all Mission Pack ifdefs

Does anyone know a tool that allows me to remove all IFDEFs and keep their body? I want to remove all MISSION_PACK ifs and keep their body, making a single codebase.

Why can’t you just define MISSIONPACK always?

Cleaning up my codebase. I don’t want it to be versatile/generic as ioquake.