I have an HTML page, and I want to select the data that is between some
.*? <table ( .*? ) </table > .*?
.*?<table ( .*? ) > .*? </table > .*?
as Regular Expression
Thnx, that worked. What did I miss here? Is it the space bars needed between the brackets… ahh… well… happy now :)
or use xslt:
<xsl:template match="table"> <xsl:copy-of select="*" /> </xsl:template>
uh, so how should i get the contents of a div tag with a specific class? eg. this page: http://decodeunicode.org/u+4DFF has the line
<div class="title">U+4DFF HEXAGRAM FOR BEFORE COMPLETION</div>
so how do I use xpath/xquery/xslt to extract the text contents of this tag?
as said on irc, convert the input to proper xml and then xpath query:^code: