I would like to parse the HD price from the following snipper of HTML. I am only have fragments of the html code, so I cannot use an HTML parser for this.
You've asked for a regular expression here, but it's not the right tool for parsing HTML. Use BeautifulSoup for this.
>>> from bs4 import BeautifulSoup
>>> html = '''
View In iTunes
£19.99
- HD Version
'''
>>> soup = BeautifulSoup(html)
>>> val = soup.find('span', {'class':'price'}).text
>>> print val[1:]
19.99