I'm currently working with HTMLAgilityPack and I need to extract a value from a script tag. Here is the code:
<div id="frmSeller" method="post" name="frmSeller">
<div class="clear"></div>
<script type="text/javascript" language="javascript">
Biz.Product.GroupItemSwitchLogic.init();
Biz.Product.GroupItemSwitcher.init({
properties:null,
availableMap:[{"info":{"item":"28-200- 286","price":95.99,"vehicle":null},"map":[]}],
selectedProperties:[]
});
</script>
</div>
I am trying to extract the "price" value, which is 95.99 in this case. Can anyone suggest what kind of Regex pattern I should use for this task? Thank you.