I have a text file that I got from a PDF file with tables. The table structure: run code to see structure
<table>
<tr>
<th>name</th>
<th>monday</th>
<th>tuesday</th>
<th>wednesday</th>
<th>thursday</th>
<th>friday</th>
</tr>
<tr>
<td>XXX</td>
<td>14:30</td>
<td>14:30</td>
<td> </td>
<td>14:30</td>
<td>14:30</td>
</tr>
</table>
As you see Wednesday is empty and I need to insert the times to a database. And I have no idea how I can count the empty field as empty.