Regular Expressions
C#:
Code:
Regex hitpoints = new Regex("</span>(?<hitpoints>[^<]*)<a href=\"/wiki/Hit_Points\"");
Regex experience = new Regex("<br />(?<experience>[^<]*)<a href=\"/wiki/Experience\"");
System.Net.WebClient webclient = new System.Net.WebClient();
string str = webclient.DownloadString("http://tibia.wikia.com/wiki/Dragon");
Console.WriteLine(experience.Match(str).Groups["experience"].Value);
You may want to remove any trailing whitespaces. You might also want to group the patterns together, I just seperated them to make it easier to read.
edit: the patterns can of course be improved, I just tend to read until open/close tag when it comes to HTML out of laziness
i.e. only grabbing numbers would make removing whitespaces superflous