Frågan#1
denna tar ut title på en html-fil, men den tar oxå med </title> vill att den ska sluta innan </title>
foreach (string s in line)
{
if (rt.IsMatch(s))
{
foundTitle = true;
int tmp = s.IndexOf(@"TITLE");
//int tmp2 = s.LastIndexOf(@"TITLE");
textBox2.Text = s.Substring(tmp+6);
sw.WriteLine(s.Substring(tmp + 6));
}
if (rShowTags.IsMatch(s))
{
foundShowTags = true;
}
}
