I want to get the integer value of this xml attribute limit=\"25\"
I tried this :Match match = Regex.Match(response.Content, "(?<=limit=))\\d+");
gives me an error : “too many )’s.
and this : Match match = Regex.Match(response.Content, @"limit=([0-9])$"
this returns nothing, the match is not successful
From this xml:
<issues type="array" limit="25" total_count="251" offset="0">
<issue>
<id>4317</id>
It’s better to use
string TheStringNeededToBeParsed = “… the xml “;
TheStringNeededToBeParsed .IndexOf(…