If my HTML is:
<tr><td>....</td><hr></tr> <tr><td>....</td><hr></tr> <tr><td>....</td><hr></tr> <tr><td>....</td><hr></tr> <tr><td>....</td><hr></tr> <tr><td>....</td><hr></tr>
If my regex is:
Patterp p = Pattern.compile("<tr>(.*)<hr></tr>");
Should it get 1 result or all individual rows?
Is there a way to get it to get all the lines, not just the whole html from the top <tr> to the last instance <hr></tr> ?
source share