G
Greg Vereschagin
I'm trying to figure out a regular expression that will match the
innermost tag and the contents in between. Specifically, the string
that I am attempting to match looks as follows:
....<table>...<table>...>Final<...</table>...</table>...
I want to match: <table>...>Final<...</table> from this example.
The string could also, of course, look like the following:
....<table>...<table>...</table>...<table>...>Final<...</table>...<table>...</table>...</table>...
I am looking for the innermost <table> </table> tags that have a
specific string in that table - in this case >Final<.
Any help would be greatly appreciated. If there are other newsgroups
dedicated to regular expressions I would be happy to redirect my post
there.
Thanks in advance,
Greg
innermost tag and the contents in between. Specifically, the string
that I am attempting to match looks as follows:
....<table>...<table>...>Final<...</table>...</table>...
I want to match: <table>...>Final<...</table> from this example.
The string could also, of course, look like the following:
....<table>...<table>...</table>...<table>...>Final<...</table>...<table>...</table>...</table>...
I am looking for the innermost <table> </table> tags that have a
specific string in that table - in this case >Final<.
Any help would be greatly appreciated. If there are other newsgroups
dedicated to regular expressions I would be happy to redirect my post
there.
Thanks in advance,
Greg