My html structure as below
<td class="opps">1:2</td>
I am trying split value of td with XPath as below
.//*[contains(@class, 'opps')]/text()[normalize-space(substring-after(., ':'))]
.//*[contains(@class, 'opps')]/text()[normalize-space(substring-before(., ':'))]
But value returns 1:2
How can i extract 1 and 2 separately?
I am also using HtmlNodeNavigator and HtmlAgilityPack.
What is the wrong?
Thank you in advance.