Jump to content
UBot Underground

Recommended Posts

Hello everyone. I am a new bee to Ubot. I am attempting to pull this data from a web page of mine with Regex. i want to put it into a table so i can search it. Below is an example of the code from the page. I put together this code so far

 

<a href="#" onclick="open.*\n.*\n.*\n.*\n.*\n.*

 

that is doing what i want, but I need to remove all of the additional fluff. I am trying to sort it as follows in rows and save it to a searchable table:

 

Single-Family-Home

813190

$200,000

274 Smith Rd

Sometown, CA

John Smith

 

this is the code from the page:

 

<a href="#" onclick="open(35166552); return false;">preview</a>
                    </td><td>
Single-Family Home</td><td>813190</td><td>
                        
$200,000
                    </td><td>274 Smith Rd</td><td>
                        Sometown, CA
                    </td><td>John Smith</td><td>12</td><td>

 

thank you for your help. :)

Link to post
Share on other sites

Thanks: so i think i set it up correctly, but still the same:

clear list(%test)

add list to list(%test$find regular expression($document text"<a href=\"#\" onclick=\"open.*\\n.*\\n.*\\n.*\\n.*\\n.*"), "Don\'t Delete""Global")

add list to list(%test$scrape attribute(<td>"innertext"), "Don\'t Delete""Global")

 

this is what i got:

 

<a href="#" onclick="open(35166552); return false;">preview</a>

                    </td><td>Single-Family Home</td><td>813190</td><td>

                        $200,000

                    </td><td>274 Smith Rd</td><td>

                        Sometown, CA

                    </td><td>John Smith</td><td>12</td><td>

 

?? thank you you are great at this. :D

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...