enginaar Posted November 5, 2010 Posted November 5, 2010 Hello, I'm trying to match a regexp with table tags in an html. There are three tables in my page and I want to match each of them seperately. I'm using the followings regexp. <table(.*)>(.*)</table> This matches from the first tables table tag to the last tables closing tag. How can I make it to match seperately with all three. Html file looks like below <table> <tr> <td>First Table</td> </tr> </table> Some Html Here <table> <tr> <td>Second Table</td> </tr> </table> Some Html Here <table> <tr> <td>Third Table</td> </tr> </table> Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.