Hi all,
Ive hit a little snag in my project and hoping to get some ideas.
Im looking for a way to search for a particular string in a webpage.
lets say the piece of ascii text always starts the same like "abc-123- ###"
where ### can be any possible combination of letters or numbers after but the length of the string is always the same.
The basic flow would be
-send http request to a particular website
- search the returned page data for the piece of text starting with "abc-123"
- copy abc-123-### to a clipcopy or textfile
Its similar to using a web browser and hitting ctrl+f to search out for piece of text.
The closet things i can find are the http.submit and http.download but i dont know if i can even use these functions to do what I need.
the other idea im playing with is to possibly use the very handy web object. perhaps i could load the page into the web object first and then search out the html data inside (if thats even possible?)
perhaps someone has an idea or tip to point me in the right direction.
Of course any little code snippets would be very helpful but ill take whatever info i can get for now.
Thank You
Ive hit a little snag in my project and hoping to get some ideas.
Im looking for a way to search for a particular string in a webpage.
lets say the piece of ascii text always starts the same like "abc-123- ###"
where ### can be any possible combination of letters or numbers after but the length of the string is always the same.
The basic flow would be
-send http request to a particular website
- search the returned page data for the piece of text starting with "abc-123"
- copy abc-123-### to a clipcopy or textfile
Its similar to using a web browser and hitting ctrl+f to search out for piece of text.
The closet things i can find are the http.submit and http.download but i dont know if i can even use these functions to do what I need.
the other idea im playing with is to possibly use the very handy web object. perhaps i could load the page into the web object first and then search out the html data inside (if thats even possible?)
perhaps someone has an idea or tip to point me in the right direction.
Of course any little code snippets would be very helpful but ill take whatever info i can get for now.
Thank You
Comment