I have a text like this:
text='gn="right" headers="gr-Y10 gr-eps i36">121.11<\\/td><\\/tr><tr class="hr"><td colspan="12"><\\/td><\\/tr><tr>'
I would like to get the value 121.11
using regex out of it.
So I did this:
import re
b=re.search('gr-Y10 gr-eps i36">(.*)<\\\\/td', text)
b.group(1)
and I got this as output:
'121.11<\\/td><\\/tr><tr class="hr"><td colspan="12">'
How can I get what I am really looking for, which is 121.11
instead of the line above?