Regex ismatches activity to scrape email id from email body

Hi guys
I need you help to scrape email id from outlook email body
my email like below and I am using matches regex activity to scrape email from
email body and I got ienumerable type value but I got 4 item inside it but as my email have only two email id could you please help me where am I wrong ?

Regex builder

Email body

Hi,

I guess you might got text and value of href attribute.
So, for now, can you check matchesResult.Distinct().Count() ?

Regards,

Yes but how could I make ienumrable as unique ? I am using concat function and for loop to store email id in queue l.e email1@abc.com,email2@abc.com

Hi,

Can you try as the following?

result = result.Distinct()

Regards,

image

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.