How can I capture a URL in an email? Everything I've tried either doesn't work or is inconsistent. It is the only URL in the entire email.
If it would treat the URL as plain text, it should work--since the URL has the same type of header as the rest of the items I'm capturing. They all start with something like Header: and go to the end of the line. But when I try to capture the URL like that, trying to capture everything after "Project Files URL:" it doesn't capture anything. If I try to capture everything after "https:", it kind of works, but there's no consistent ending text and sometimes it captures a lot more than the URL address.
It seems like I'm missing something pretty big. Shouldn't it be fairly routine to capture URLs from an email? I haven't been able to find anything in the help files or in the forum.
If it would treat the URL as plain text, it should work--since the URL has the same type of header as the rest of the items I'm capturing. They all start with something like Header: and go to the end of the line. But when I try to capture the URL like that, trying to capture everything after "Project Files URL:" it doesn't capture anything. If I try to capture everything after "https:", it kind of works, but there's no consistent ending text and sometimes it captures a lot more than the URL address.
It seems like I'm missing something pretty big. Shouldn't it be fairly routine to capture URLs from an email? I haven't been able to find anything in the help files or in the forum.
Hi,
Yes, capturing URLs is something quite common. The problem is that there are many ways to do so. Usually you will use a regular expression for it but it depends on the context.
Can you post here the text of an email? You can change non relevant data such as names etc for privacy. I will give you a regular expression and a couple of screenshots that show how to capture it.
Yes, capturing URLs is something quite common. The problem is that there are many ways to do so. Usually you will use a regular expression for it but it depends on the context.
Can you post here the text of an email? You can change non relevant data such as names etc for privacy. I will give you a regular expression and a couple of screenshots that show how to capture it.
I've pasted the two ways that the relevant parts of the emails come in below, changing the URL for privacy reasons. The URL comes in as a hyperlink, so I don't know how useful the cut and paste will be.
PROJECT FILES:
Please login and access these from our portal: https://portal.fakeurl.com
Or
PROJECT FILES: https://portal.fakeurl.com
PROJECT FILES:
Please login and access these from our portal: https://portal.fakeurl.com
Or
PROJECT FILES: https://portal.fakeurl.com
Thank you for this response. However, it's returning results like this: http-equiv="Content-Type" content="text/html; charset=utf-8">
No idea why.
No idea why.
But it works in the testing area. Maybe the fact that it's a hyperlink is messing it up. When I copied it into the testing area it was just plain text, of course.
Nevermind! That works!! I was capturing from BodyHTML instead of Body! I had to take another look at your screenshot. I wonder if that was the problem all along!
Thank you SOOOOOO MUCH
. You just saved me so much time.
Thank you SOOOOOO MUCH

- All times are UTC -
