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
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.