I am trying to fetch values from a web page source file this is the html rules i have
e=d.select("li[id=result_48]");
e=d.select("div[id=result_48]");
this is the html tag
<li id="result_48" data-asin="0781774047" class="s-result-item">
<div id="result_48" data-asin="0781774047" class="s-result-item">
what i want to do is whatever comes in place of "li" or "div" i want to get the value inside the id .. so i want to use RegX in place of "li" or "div"
So the Jsoup element should check the id=result_48 and if something comes like that i want the data. how can i do that.
Thanks in advance
result_48