I have a file in the following format:
someinformation="someNumbers"-result
My code is:
re.findall('someinformation="(.*?)"-result', str(data))
Given the example:
test1="3"-result
I want to get 3
, but my code doesn't find anything.
re.findall('test1=(.*?)-result', str(data))
works, but returns "3"
and not 3
. What I find strange is that the following:
re.findall('test1="3"-result', str(data))
doesn't find anything either.