I have a situation where I am not able to directly refernce the aspose.words.dll library. I am having to embed it as a resource and then load it at runtime and do my operations. Works great but I have run into a limitation.
I need to do search & replace of a regular expression. Since I am using reflection and loading the dll at runtime, I cannot pre-define a class that inherits from IReplacingCallback and pass that as an arguement.
Is there any other way that I can do a search for a regular expression, get returned a list of nodes and I iterate over them and do the replacements needed?