Regular Expressions help
Posted: Wed Mar 23, 2011 7:55 am
Hi
i have this string:
i want to be able to find the values of:
you save, discount and original price.
the desierd output: 32, 52, 62
how can i do it with Regular Expressions?
i have this string:
Code: Select all
<div class="col-price">
<h4>you save</h4>
<span ><span class="currency">$</span>32</span>
</div>
<div class="col-price">
<h4>discount</h4>
<span >52%<span class="persent"></span></span>
</div>
<div class="col-price last">
<h4>original price</h4>
<span ><span class="currency">$</span>62</span>
</div>you save, discount and original price.
the desierd output: 32, 52, 62
how can i do it with Regular Expressions?