I have table that has columns with email addresses delimited by ;
:
TO CC BCC
--------------------------------------------------------------------------------------------------------------------
abc.def@xyz.com;an.yes@xyz.com;no.yes@xyz.com anna.chris@xyz.com;DL_ABC@xyz.com raj.alb@xyz.com;doug.amb@xyz.com
User gives an email address as the search criteria and I have to lookup against each of these columns to find the rows where any of the colums have the target email address.
Can anyone please help me out here?
I tried using reg_exp
but dont have much experience there.