Open URL from Outlook message

I have emails which have URL in body (every time different URL) and then I have to open them in browser. I assigned a variable “link” with regex.matches but nothing is happening.

@markosc In write Line what you are getting?

nothing

Main.xaml (8.3 KB) @markosc you can refer attached

@markosc

Try using below regex

^((http|ftp|https):\/\/)?([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?

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