If what you need is "simple," regular expressions are almost never the answer. And how simple can it be if you are posting here? :)
BeautifulSoup isn't all that hard. Observe: >>> from BeautifulSoup import BeautifulSoup >>> html = '10:00am - 11:00am:</b> <a >>> href="/tvpdb?d=tvp&id=167540528&[snip]>The Price Is Right</a><em>' >>> soup = BeautifulSoup(html) >>> soup('a') [<a href=""/tvpdb?d=tvp&id=167540528&">ThePrice Is Right</a>] >>> for show in soup('a'): print show.contents[0] The Price Is Right RunLevelZero wrote: > I considered that but what I need is simple and I don't want to use > another library for something so simple but thank you. Plus I don't > understand them all that well :) -- http://mail.python.org/mailman/listinfo/python-list