(I have to deal with this awful vendor site made for IE6)
I'm trying to find a way to dig out a link.
ex: <a href="/part/id.aspx?v=449530">
, no matter where it may appear.
Basically, the first <a>
beginning with /part/id.aspx?v=
.
And extract the '449530'. There are no usable id's, classes, or anything, and the whole thing isn't valid HTML, XHTML, or XML.
Been going at it with http://simplehtmldom.sourceforge.net to not much avail.
Any help is very much aprpeciated.