skipping occurance in regex
| From: | Brian V Bonini | Date: | Wed, 28 May 2003 17:06:55 +0000 |
| Subject: | skipping occurance in regex | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149290@lists.php.net to get a copy of this message | ||
how can you skip the first occurance and stop at the second in a regex?
<table id="xxx">
<tr>
<td>
<table>
<tr>
<td>content1</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>content2</td>
</tr>
</table>
If I wanted to grab all that from within a document I know I can start
at table id= because it's unique but how do I skip the first </table>
and stop at the second?