you shoud never ever use regex to parse html. the best and fastest way to parse strings is using IndexOf. There is a HTML agility pack that allows you to use xPath.