Jump to content
UBot Underground

Please Help With Regex That Stars With Specific Word


Recommended Posts

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 by spa3212
Link to post
Share on other sites

alert($find regular expression($find regular expression($plugin function("ExBrowser.dll", "$ExBrowser Document Text"),"Total Amount Due\\:[\\w\\W]*?<br>"),"\\$[\\d,.]+"))

 

use regex

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...