what i want to do is, if find "desktop", return it's price. 699 in this case. i tried sth. like this if i remember correctly, pattern = "desktop*" + "(.*)" m = re.search(pattern, web_pg) if m: print "tPrice:", m.group(2) it always come back with $699. But i want to get rid of that $. if i do "($*)", doesn't work. Any suggestions ? Thanks !