Hi @ClaytonM in the attached screenshot, I mentioned 1 and 2 with yellow color.
I extracted the complete yellow text from the profile. Then use the Regex to filter the only email I’d. But here some candidate have single email I’d and some have two email Id. which I want to extract their email I’d and write in a single excel row with comma, I attached the sample excel screenshot. in the previous post.
Another option is to just Split by the Newline, since the emails are on the next line. EmailAdd.Split(System.Environment.Newline(0))(1).Replace("]","")
And, you can use that directly in the Add Data Row, since it will include all emails listed already
@ClaytonM For me EmailAdd variable is used to store the text from the Get Full Text activity. And Email variable is used to store the text after filtering from the Match activity.
See my point above that shows you can take your Matches enumerable (you say you store in Email), and use directly in Add Data Row with String.Join(",",Email)
However, make sure your Regex is working correctly first to get all emails from the string.
Fine this expression worked for me (\W.*@[A-Za-z_]+?\.[A-Za-z]{2,6})
Kindly try this once and let know buddy
Well while after splitting the string and getting the value use .ToString.Trim to remove the unwanted space before and after
Cheers @balkishan