This is step two .
First you need to get the contents of the body.
Second, you need to parse the contents and assign variables.
:
Regex exp = new Regex(@"((?:.(?!<body[^>]*>))+.<body[^>]*>)|(</body\>.+)", RegexOptions.IgnoreCase);
string InputText = content;
string[] MatchList = exp.Split(InputText);
string body = MatchList[2];
:
string body = content;
string [] param = {"&"};
string[] anotherParam = { "=" };
string[] str = body.Split(param , StringSplitOptions.RemoveEmptyEntries);
System.Collections.Hashtable table = new System.Collections.Hashtable();
foreach (string item in table)
{
string[] arr = item.ToString().Split(anotherParam, StringSplitOptions.RemoveEmptyEntries);
if(arr.length != 2)
continue;
if(!table.Contains(arr[0])){
table.Add(arr[0], arr[1]);
}
}