regex - C# Text Matching HTML -
regex - C# Text Matching HTML -
i'm trying interact crappy "web-service" (cleverly disguised simple aspx page...) don't command page can't tweak output i'm stuck it. format same this:
<b> <a href=\"http://www.google.com/\" target=\"_blank\">google inc</a> </b> <br />123 north main <br />hume, deed <br />(999) 888-8888 so, need parse out url, name, address, city, state, , phone? it's not formed xml can't utilize xml parser, , regex seems painfully nasty, stuck string.match , indexof etc?
thanks suggestions... james
you can utilize html parser parse page, html agility pack, free , robust one. or can utilize xquery processor .net, please have @ thread see drawbacks of using regex parsing html pages
c# regex string xml-parsing
Comments
Post a Comment