I have the following xpath match in my soapui test suite ,
//html/body/div[2]/table/tbody/tr[td/b[text()='NewsV1']]//td[4]/a[1]/@href[1]
Result :
http://shortness.com:101115/localnewsv1/info
I want the expected result as below (it should take the result from http to till the third /)
I have tried the following xpath combined with regular expression
tokenize(/html/body/div[2]/table/tbody/tr[td/b[text()='NewsV1']]//td[4]/a[1]/@href[1], ' ' )[matches(., 'http://+w[a-zA-Z0-9.]+d{*}+/')
This gives me an invalid expression in the result.if you have idea point the issue or suggest.