Hi, I'm reading some pages from the BBC.co.uk web site, all of the news articles have the tags <!-- S BO --> and then later on <!-- E BO --> to indicate where the main body of text is. I'm trying to locate the first tag, and then add everything I can find into a
string until I locate the second tag.
This code I have pasted in is meant to find the first tag and print out confirmation when it does. The problem is that a lot of time it cannot find the first tag.
For instance, running it on this link, it can't find the tag:
http://news.bbc.co.uk/sport1/hi/football/teams/t/tottenham_hotspur/6225089.stm even though if I go edit->view source in my browser, and do edit->find, I can see the tag I'm looking for
However if I run it on this article, it finds the tag:
http://news.bbc.co.uk/1/hi/education/6224801.stm I cannot see what is going wrong with my program at all, if anyone can offer any advice then thanks a lot!