I have an html from which I want to etract an included html,to mark the html I have put a starting and an end tag say <here> and </here>.
how do I exract all the text in between this html.
example is
<html>
<head>
<here>
abc
<div>def<div>
</here>
</head>
</html>
how do I extract string "abcdef",using the HTML parser.
What do you mean by "the HTML parser" - this one http://htmlparser.sourceforge.net/? If so, then there are several sample programs on the web site that should get you started; StringExtractor in particular looks promising.