Okay I try to make an example.
Lets assume your html looks like this:
<!DOCTYPE html>
<html>
<body>
<h2>HTML Tables</h2>
<table id="myTable">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
<table id="anotherTable">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Ernst Handel</td>
<td>Roland Mendel</td>
<td>Austria</td>
</tr>
<tr>
<td>Island Trading</td>
<td>Helen Bennett</td>
<td>UK</td>
</tr>
</table>
</body>
</html>
Then I start splitting the information out of the html like that:
First I split out my tables ID and I know that my result is on the "right side" of my splitted string. So in the next compose I use the output of the previous compose (but the [1] array field).
Then I split the table finish tag out. And I know that all my info is inside my new array field [0].
So I split out the tablerows (<tr>) next.
Now you have an array with each "csv line"
you just need to replace the <tr> and <th> tags with semicolons (";") for each row.
And then write back the info line by line into a variable or whatever.
Then you can use the variable as content of a excel file.

I hope you understand this approach.
With regards,
Kevin