Forum Discussion

sathyarajg's avatar
sathyarajg
Occasional Contributor
7 years ago

Regex-xpath-how to extract a substring from string?

I have the following xpath match in my test suite,   //html/body/div[2]/table/tbody/tr[td/b[text()='NewsV1']]//td[4]/a[1]/@href[1]   Result :    http://news.co.uk:10100/local-news-en-1.0/info ...