I'd need to extract numbers and dot which are codified in a TEXT as images. The number of digits and the presence of dot is unpredictable.
String would be like:
beginningspeedstring-"./gifs/4.jpg"-"./gifs/1.jpg"-"./gifs/dot.jpg"-"./gifs/3.jpg"-endspeedstring-beginningtempstring-"./gifs/1.jpg"-"./gifs/8.jpg"-"./gifs/dot.jpg"-"./gifs/8.jpg"-endtempstring-beginningforce-"./gifs/5.jpg"-"./gifs/3.jpg"-"./gifs/3.jpg"-endforce
What I expect as output is in a single pattern match:
18.8
Can I get this through a single regexp?
Thanks
EDIT Changed example as the main point is not html but capturing multiple occurences at once.
EDIT2
beginningtempstring-(?:.*?gifs\/(.*?)\.jpg.*)*-endtempstring
This is the best I could come out so far but it retrieves only first occurrence (and does not pick up dot)