Jan,
Not sure your exact use case, but perhaps the Model SDK can help. Documentation here: https://docs.mendix.com/apidocs-mxsdk/mxsdk/ and here https://apidocs.mendix.com/modelsdk/latest/index.html
Hope that helps,
Mike
Alternatively maybe Eclipse facilitates this. Deploy for Eclipse, open it there and do a find&replace.