This is what I've got so far:
var source = '>R$11111</b>';
var price = source.match(/[^R$]\d+/);
The 'source' is a little bit of a innerHTML insert, but I've got that down.
The problem is the 'price' MUST be in-between 'R$' and '</b>', no matter what is between them, from 1 to infinity. What I've got there will work, but when I take out 'R$' or '</b>' from it, it still finds the value and an extra character.
So basically I just need help with making it so it will only pick up the value between 'R$' and '</b>' when both are present.
***OR from R$ to the end of the string. But no space between R$ and the price.
</b>I think.innerHTMLon a DOM element, are you? If so, it would be better to drill down to the proper element, and deal just with the text content.