Extract URL of text without Data Scraping

I am wondering how I can extract the Href url of a text without using data scraping method.

Please let me know thanks in advance

1 Like

@Sami_Syed

You can try using a regex pattern to find URL. Kindly check the same in the stack overflow link below:

Please escape the forward slash in the regex with
.

I dont understand how I would use this in UIPath?

Can you give me an example

@Sami_Syed

Kindly use the matches activity. If this activity is not found please select the system.text.regularexpressions In the namespace.

In the matches activity input parameter will be the string of text, pattern will be the pattern (the regular expression from above) and then an output variable to hold the output.

Loop through the output (for each activity) to get the desired result from the list list of matches (which in this case will be a list of URL) .

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