I have a block of screen scrape code that extracts values from a table. It works fine, it looks for absolute locations for the left and top values and returns the value inside the
tag, in my example it returns 00025.
However, I need to update my code because the values are not always in the same place, see
<[login to view URL]>
<[login to view URL]>
If you look there you notice the fields in the middle section are not always in the same order. I would like someone to update this code block so that it looks for label and then grabs the value to the right. I will provide list of all the labels to look for and the variables used to store the result. The code should loop through
Something like this I can provide,
Expiration Date,exp_date
Level 1 # Kitchens,fl1_kitchens
The code should loop through and store the value next to Level 1 # kitchens into a field called fl1_kitchens
Code does not need to parse 'features' or 'additional picture section'. Coder also doesnt need to load the page. I can provide a copy of the code that I use to load the page. Or the coder can just copy the html and store it in the variable strhtmlPage. In my example below that variable already includes the full html page.
Coder also doesnt need to do any processing after parsering. If your code parses the page and you can run [login to view URL] and see the value on screen you are done.
Example In the deliverable section below.
00025
## Deliverables
00025
Regex reg_lot_size = new Regex((AT)"style.*?(?:LEFT\s*:\s*576\s*px){1}.*?\s*?(?:TOP\s*:\s*522\s*px){1}.*?>(.*?)
", [login to view URL]);
Matchm_lot_size = [login to view URL](strHTMLPage);
string lot_size = "";
if ([login to view URL])
{
lot_size = [login to view URL]("$1");
}
----
code snipit that I can load into my visual studio project.
## Platform
visual [login to view URL]