I want to write a simple regular expression in Python that extracts a number from HTML. The HTML sample is as follows:
Your number is 123
import re print re.search(r'(\d+)', 'Your number is 123').group(0)