Upon extracting context from webpage, I was left with a string "price: $30.00" which I stored as "x." all I needed was "30.00"(numbers only.) I tried replacing using x.replace(), but it was all in vain. I would appreciate if anyone can help me write the snippet.
I tried using storeEval, only to find that it had been removed. Replace was the only option I had and I tried using it only to enouter difficulties.
2
Answers
There is another (simpler) way: