I have a list of emails and I want to write a where statement, to exclude rows that only contain the email domains %@icloud.com or %@mac.com
For example,
emailslist looks like this:
abc@gmail.com; 123@hotmail.com
123@outlook.com; abc@icloud.com
123@icloud.com;
123@icloud.com; abc@mac.com
the desired output should look like this:
abc@gmail.com; 123@hotmail.com
123@outlook.com; abc@icloud.com (this row should be returned because it also contains '@outlook.com' which isn't on my exclude list)