Page 1 of 1

Email validation

Posted: Wed May 28, 2008 6:47 am
by ankita
Hi All,

We are using Quality Stage to do Email validation. There is one rule as,

- If an Email comes as xyz@yesmailcom then change it to xyz@yesmail.com
or if input is abc@sbicoin then it should be abc@sbi.co.in

i.e. if . is missing then that should be incorporated.A set of valid domain names are available (Say com, co, in, nic, org etc)

I am not able to set the logic.Can you please give some suggestions ?

Thanks in advance!
Ankita

Posted: Wed May 28, 2008 7:02 am
by ray.wurlod
I think this could most easily be done in a Transformer stage. But, yes, you could create some PAL to reparse these patterns.