N
nomad
Hi,
I need to be able to retrieve values from a string made up of HTML. A
colleague has mentioned using regular expressions to retrieve the
value but this is proving quite difficult. If someome could point me
in the right direction in regard to the values below, it would be
greatly appreciated.
<td class="brandorange">Quote reference: 123456789</td> - I need to
retrieve the 123456789 value.
<input type="radio" name="selections.excessBuildings" value="1">
£100<input type="radio" name="selections.excessBuildings" value="2">
£150<input type="radio" name="selections.excessBuildings" value="3"
checked="checked">£300<input type="radio"
name="selections.excessBuildings" value="4"> - I need to be able to
retrieve the checked value i.e. value '3' is checked so I need to
retrieve 300.
I need to be able to retrieve values from a string made up of HTML. A
colleague has mentioned using regular expressions to retrieve the
value but this is proving quite difficult. If someome could point me
in the right direction in regard to the values below, it would be
greatly appreciated.
<td class="brandorange">Quote reference: 123456789</td> - I need to
retrieve the 123456789 value.
<input type="radio" name="selections.excessBuildings" value="1">
£100<input type="radio" name="selections.excessBuildings" value="2">
£150<input type="radio" name="selections.excessBuildings" value="3"
checked="checked">£300<input type="radio"
name="selections.excessBuildings" value="4"> - I need to be able to
retrieve the checked value i.e. value '3' is checked so I need to
retrieve 300.