I want to extract the data between <tr> tags from an html page. I used the following code.But i didn’t get any result. The html between the <tr> tags is in multiple lines
category =re.findall('<tr>(.*?)</tr>',data);
Please suggest a fix for this problem.
just to clear up the issue. Despite all those links to
re.Mit wouldn’t work here as simple skimming of the its explanation would reveal. You’d needre.S, if you wouldn’t try to parse html, of course: