Hello,

Am I right in saying that you are parsing HTML that you are getting from "somewhere"?

If so, you might want to take a look at the HTMLAgilityPack:

http://htmlagilitypack.codeplex.com/

Which I am fairly sure has methods for getting at this data.

Gary