I am trying to build the logic in informatica to fetch the email id from free text using reg_extract but its not working as expect.I have tried using this logic [a-zA-Z0-9-.]+@[a-zA-Z0-9-.]+[a-zA-Z].Can someone please help with this.
Input:
Data storing in column is string within that email ids are present. Need to fetch email ids.There is no fixed pattern. Example :
Field 1
test – test12 – test@gmail.com - test1@gmail.com
abc - abc@gmail.com - abc1@gmail.com - abc2@gmail.com
ghi-ghi@gmail.com-ghi1@gmail.com-ghi2@gmail.com
-jkl-jkl@gmail.com-jkl1@gmail.com-jkl2@gmail.com
cde cde@gmail.com
Comment generated by:Please contact : efg@gmail.com for any queries
Output:
Field 1
test@gmail.com/test1@gmail.com
abc@gmail.com/abc1@gmail.com/abc2@gmail.com
ghi@gmail.com/ghi1@gmail.com/ghi2@gmail.com
jkl@gmail.com/jkl1@gmail.com/jkl2@gmail.com
cde@gmail.com
efg@gmail.com