I use WebBrowser control and
span.GetAttribu te("class") method looks like buggy because it doesn't return the class value.
Instead, I want to use regex.
Samples:
<SPAN class=success>J ohn Doe</SPAN>
<SPAN class=fail>John Another</SPAN>
How can I substract the class value between "<SPAN class=" and the first ">" ?
Dim expression As New Regex("???????? ???")
Dim m As Match = expression.Matc h(span.OuterHTM L)
span.GetAttribu te("class") method looks like buggy because it doesn't return the class value.
Instead, I want to use regex.
Samples:
<SPAN class=success>J ohn Doe</SPAN>
<SPAN class=fail>John Another</SPAN>
How can I substract the class value between "<SPAN class=" and the first ">" ?
Dim expression As New Regex("???????? ???")
Dim m As Match = expression.Matc h(span.OuterHTM L)