Hello to everybody,
I have a problem extracting the hyperlink of an email. I have tried regex but it does not work.
I have the following email and I would like to get that hyperlink.
Thank you in advance
Hello to everybody,
I have a problem extracting the hyperlink of an email. I have tried regex but it does not work.
I have the following email and I would like to get that hyperlink.
Thank you in advance
Try this thread
Hi,
When I try that sequence, the link that I get when I convert it to string is the following:
“System.Linq.Enumerable+d__97`1[System.Text.RegularExpressions.Match]”
Thank you in advance,
In that case i would like to have a look at your workflow.
@alvaroh_hern
The output(matchResult) of the Matches activity will be IEnumerable[Match], which you can’t directly access.
You should use matchResult.Cast(of object).FirstOrDefault().ToString
Meanwhile this will through error if there is no matching record. i.e., no url in the email.
SO you need to check is there any url exists, using IsMatches activity. Output of which will be a boolean value. If this is true, proceed with Matches activity.
Hope this is helpful!
Yes! That´s works.
Thank you very much to everybody!
Regards
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.