How to find common properties for two links of webpage

I have to click multiple links from webpage in a loop. I am retrieving the page links from data table.To complete the above task i need to find common properties from all links and click the links one by one in a loop.

The properties are as below.

First Link

Second Link

Also I am posting screenshots for the properties.

Please refer the post I have to read all link values from Excel sheet and Click on the WebPage in Uipath
It might answer your questions.