I am trying to run multiple regexes over a code base, but don’t see a good way of doing that. RegReplace handles chaining regexes, but can’t handle multiple files.
Type of scenario I’m trying to deal with :
To test out a framework migration replacing a large number of Class Names within a project and fixing method names/arguments. For example :
- \bCssLayout\b -> Div
- \bCheckBox\b -> Checkbox
- .setRatio((.),(.)); -> setExpand($2,$1);
- …
Does anyone have a suggestions on good tools or ways to do this?