\[code\]<table class="listProvision" class="itable"> <tr> <td class="whatever">some infos</td> <td>some more infos</td> <td>13908402</td> <td>hello world</td> </tr> <tr> <td class="whatever">some infos</td> <td>some more infos</td> <td id="num">13908402</td> <td>hello world</td> </tr></table>\[/code\]Given the above sample HTML, how can I properly parse all existences of \[code\]<tr>...</tr>\[/code\] between the \[code\]table\[/code\] with class \[code\]listProvision\[/code\]?I tried: \[code\]<table.*?listProvision.*?>(?:.*?<tr.*?>(.*?)</tr>)+.*?</table>\[/code\], but I can't figure out what's wrong. There is never going to be any complicated html pulled into this regex so don't worry about that.