Can anyone tell how to search for a keyword in any web page in java...Suppose if
am giving query in a google page, The results will be displaying in many pages. In the 1st page i want to search for a keyword www. ...
abar_sow
0
Light Poster
Recommended Answers
Jump to PostI suppose you would need to first parse out the hrefs from the links and then get the content from each those urls and search for the match. Regular expressions parsing could do both or perhaps HtmlEditorKit
All 6 Replies
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
abar_sow
0
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
abar_sow
0
Light Poster
jwenting
1,889
duckman
Team Colleague
abar_sow
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.