ken.carlino at gmail.com wrote: > I am new to python regular expression, I would like to use it to get an > attribute of an html element from an html file? if you want to parse HTML, use an HTML parser. if you want to parse sloppy HTML, use a tolerant HTML parser: http://www.crummy.com/software/BeautifulSoup/ </F>