Web scrapping18

I Want to scrap a web page with the conditions as below:
Under Individual row: if both applied and Limit amount is zero then I need to scrap details from Family row: applied($3706.00) and limit amount($3706.00).
if either applied or limit contains some amount in “$” in individual row then I need to scrap both applied($150.00) and Limit($3706.00) amount from Individual row.

How to do it please some one help me to do so.



I am talking about the details are under Catastrophic Cap