I would like to use regular expression in following situation:
My input record has attribute name and value separated by white space and multiple attribute is separated by new line (something like this):
and I would like to define some rules which may contains AND/OR relatiosn like:
rule 1 : (name like %oh% and phone like %5911%) or email like john%
rule 2 : (name like abc% and phone like %5911%)
I may have hundreds of such rules and I want to validate my input records against these rules and I want list of all rules which satisfied by input record.
I am getting this records at very high rate from pipe and I want to pass them through defined rules.
Is it possible to combine above rules into some efficient data structure and pass input record through it? can I use .Net regular expression technology to do my job efficiently in this situation?
Any idea will be really appreciated?
Thanks in advance...
View Complete Post