I would like to adapt the Regex Parse tool to make it dynamic. The intention is to pass in the regex pattern from the datastream, either as a column in the data or as a control value somehow. I have tried experimenting with wrapping the tool in a macro, and then using the Action Tool to try to update the XML, but I cannot get it to work. Most of the documentation on the Action Tool focuses on interactive user input. How can I reconfigure the Regex pattern from the datastream?
The inbound data would be a text column, and a Regex pattern column. I would be OK if the pattern was the same for each text string, but I just need to be able to build the pattern from data, rather than have it hard-wired.