In the html page there is a javascript like the below and i want to extract the values of the var number.
<script type="text/javascript">
var number= 4443;
</script>
I am using jsoup to parse an html page using this command.
org.jsoup.nodes.Document doc3 = Jsoup.connect("http://htmlpage.com").get();
How can i do it ? Thank you all in advance.