Currently I am using this code:
var regex = new Regex(@"<span id=""point_total"" class=""tooltip"" oldtitle="".*?"" aria-describedby=""ui-tooltip-0"">(.*?)</span>"); <br />
var match = regex.Match(@"<span id=""point_total"" class=""tooltip"" oldtitle="".*?"" aria-describedby=""ui-tooltip-0"">"+ "{n}"+ "</span>"); <br />
var result = match.Groups[1].Value; <br />
return result; <br />
How can I alter the code so that where {n} is, it can be equal to any integer?
Sorry if I didn’t word that too well
Change
"{n}"to"\d+"and you’re all set.Edit: I may have misunderstood your question, you want to change your regex from:
to: