All:
I am looking to bulid a C# parser to extract some data (Dealership Name,? Address, City, Zip Code, phone number) from an website. what i have at this point i.e. some basic code for getting the html response form the site and parsing rules for the data.
So the next step is to parse the html to extract those information [login to view URL] deliverable can be? a? simple method and the output can be in xml, excel, or even in a dataset. ??" I will take care of the reset. Please let me know your time and cost est.
many thanks,
## Deliverables
**Dealership Name:** between “<div><strong>??( and the next char must not equal to “<??) and</strong></div>
**Phone number:** right after ? “Call Sales & Service at: <span class="nowrap"> “
Address: between </span></strong><br /> and <br />
**city state and zip code:** right after the address between the two <br /> tags
?
public string DemoExampleTest()
? ? ? ? ? ? ? {
?
?
? ? ? ? ? ? ? ? ? ? ? HttpWebRequest request = (HttpWebRequest)[login to view URL]("[login to view URL]");
? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? HttpWebResponse response = (HttpWebResponse)[login to view URL]();
?
? ? ? ? ? ? ? ? ? ? ? string html;
?
? ? ? ? ? ? ? ? ? ? ? using (StreamReader streamReader = new StreamReader([login to view URL]())) { html = [login to view URL](); }
? ? ? ? ? ? ? ? ? ? ? return html;
?
?
? ? ? ? ? ? ? }