I need to extract only the link from the each cell in the column from the excel datatable.
Sometimes there could be more than one link in each cell.
I tried using for each and used Matches where in gave the
Input as DatatableName.Columns(ColumnName).ToString
Pattern as “\S*(http|https)\S*” to get only the link.
But I could see that data in the row is not taken and there is a blank output.
Could you please help?
Yes this actually give the column name
And if you want to iterate through each value in that column
Pass that datatable to a FOR EACH ROW activity as input and inside the loop use MATCHES activity and in the input property mention as row(“yourcolumnname”).ToString and the Regex expression you have currently
So that will we get the match for those values in each row
I need to extract the Links from MailBody columns and add it as a new row just below the existing row and then i need to pick the link and do open browser.
@Pradeep_Shiv … Yea in the second row there are three same links.
But In real time there will be multiple links which are different from each other and i need to xtract all of them.
you are trying to print regex matched string right??
for that you are using for each loop and the type of argument you are using is String change it to Object