spa3212 1 Posted June 10, 2020 Report Share Posted June 10, 2020 (edited) Hi,I am looking to scrape Total Amount due from a page, using exbrowser But xpath seems to be not possible, so using plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://www.dallasact.com/act_webdev/dallas/showdetail2.jsp?can=00000542731000000&ownerno=0") set(#html,$replace($plugin function("ExBrowser.dll", "$ExBrowser Document Text"),$new line,""),"Global") add item to list(%PriorYearAmountDue,$find regular expression(#html,$find regular expression(#html,"(?<=Total Amount Due.*)[\\$0-9,.\\n]*")),"Don\'t Delete","Global") But its not scraping I must be doing something wrong here can you please help Edited June 10, 2020 by spa3212 Quote Link to post Share on other sites
spa3212 1 Posted June 12, 2020 Author Report Share Posted June 12, 2020 anyone @pash, @stanf You guys can help.. Quote Link to post Share on other sites
Eddie 14 Posted June 13, 2020 Report Share Posted June 13, 2020 alert($find regular expression($find regular expression($plugin function("ExBrowser.dll", "$ExBrowser Document Text"),"Total Amount Due\\:[\\w\\W]*?<br>"),"\\$[\\d,.]+")) use regex 1 Quote Link to post Share on other sites
spa3212 1 Posted June 13, 2020 Author Report Share Posted June 13, 2020 @ EddieThank you very much this solve my problem Thanks again. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.