Please check the code bellow. I want to get value of CDN$ 23.99
from following string. Please don't advice me to use htmlagilitypack because some other reason i cant use it here. I need to match the pattern of first part like <mama id="priceblock_ourprice" class="a-size-medium a-color-price priceBlockBuyingPriceString">
and get value after this text pattern until its find next pattern which is- </mama>
How can i do this?
string foo = "<mama id="priceblock_ourprice" class="a-size-medium a-color-price priceBlockBuyingPriceString">CDN$ 23.99</mama>";
string doo = "CDN$ 23.99"; //output need like this