import reelement = re.sub(r"\bst(?:reet)? ?(\d+)\b", r"street \1", "st 5")print (element)
Standard input is empty
street 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!