Its not that simple. Suppose i wanted to remove a global variable from a 15000 line code ? How do i go about doing that. Replace and edit wont work cause a variable can have an assignment or a usage.

I want a tool that can differentiate. Some some of tool that does parser based transformation