Hi,
This just goes against the whole idea of using regular expression.
Have included the RegexFeaturizer in the pipeline. It is capturing regex also but only capturing regex similar to the examples specified in the NLU training data. Adding more examples to training data helps but it will make the training data huge. And in our case we cannot include all possible combination of regex in the data. Because it may vary from time to time.
For example, Now it may be ab000123, ac234145, ad3456789 but later it may change it to zw4567257, zt7531598 etc.
How to take care of such cases.