L
Luciano Tolomei
i have to match some content in an html file.
the file is a single line.
i have to get some cell content from it.
i have build an expression but it match a lot of <tr></tr> together instead of matching on a time...
the line is more complex (with rowspan... ) and i have to retrieve a lot of cell's and there are a lot of rows.
but here a simplified example:
<tr><td><font color=\"#EFAD00\">xxxx</font></td></tr><tr><td><font color=\"#EFAD00\">yyyy</font></td></tr>
<tr>(.*)<font color=\"#EFAD00\">([^<]*)(.*)</tr>
it match yyyy, i need to match xxxx and yyyy.
i think that i have to change (.*) to make it match everything but not the </tr>
but i do not know how to do it.
the file is a single line.
i have to get some cell content from it.
i have build an expression but it match a lot of <tr></tr> together instead of matching on a time...
the line is more complex (with rowspan... ) and i have to retrieve a lot of cell's and there are a lot of rows.
but here a simplified example:
<tr><td><font color=\"#EFAD00\">xxxx</font></td></tr><tr><td><font color=\"#EFAD00\">yyyy</font></td></tr>
<tr>(.*)<font color=\"#EFAD00\">([^<]*)(.*)</tr>
it match yyyy, i need to match xxxx and yyyy.
i think that i have to change (.*) to make it match everything but not the </tr>
but i do not know how to do it.