1 <span class='Txt9Gray'>Decisions ( </span>
I'm trying to grab the '1' from this string. Before the '1' is another span, but I can't use that as a marker because it can change from page to page. Is there any regex expression that can simply grab the '1'.
The word 'Decisions' will always exist. That's my main way to find this line. Here's what I have been trying to no avail:
strRegex.Append("(?<strDecisionWins>[^<]+)[\s]*?
<span class='[\s\w\W]*'>\bDecisions\b \([\s\w\W]*?</span>")
This keeps grabbing the spans before the actual '1'. The full line containing the above is:
<span class='Txt9Gray'>(T)KOs ( </span> 66.67 <span class='Txt9Gray'>%) </span> <br /> 1 <span class='Txt9Gray'>Decisions ( </span> 33.33 <span class='Txt9Gray'>%) </span> <br />
The problem is that the match is matching the very beginning, instead of the one piece.